enable icon indicating copy to clipboard operation
enable copied to clipboard

Font class validation has issues

Open corranwebster opened this issue 3 years ago • 0 comments

Two issues with Font class validation:

  • When given invalid values, the Font class raises RuntimeError. ValueError likely makes more sense.
  • the validation only checks types, but many of the values have additional restrictions (eg. font size needs to be positive, some values are effectively enums, etc.)

corranwebster avatar Apr 27 '22 10:04 corranwebster