Skip to content

Update and Correct Text Element, Font-Shorthand Parsing, ReDos Error.

Choose a tag to compare

@tatarize tatarize released this 19 Jul 11:47
· 190 commits to master since this release

What's Changed

All breaking changes (hence 1.7.0) are confined to the text object parsing and interactions with text objects.

  • Deprecated Font-Face Text Attribute.
  • Correctly implement font-style
  • Correctly implement font-variant
  • Correct implement font-stretch.
  • Fix ReDoS issue with font-shorthand parsing.
  • Correct rounding error converting between pt and px
  • Text.font_weight may now return a regular str element.
  • Text.weight gives parsed value of font weight.
  • Text.font_list will provide the list of CSS Font Families in order.
  • Text.font_family will provide the font_family (This is a breaking change.)

Full Changelog: 1.6.17...1.7.0