Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
FT2Font extension improvements#28842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
3196240
f700f0b
9e02512
36349aa
5864017
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
ft2font module-level constants replaced by enums | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
The `.ft2font`-level constants have been converted to `enum` classes, and all API using | ||
them now take/return the new types. | ||
The following constants are now part of `.ft2font.Kerning` (without the ``KERNING_`` | ||
prefix): | ||
- ``KERNING_DEFAULT`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. perhaps note that the new name doesn't include KERNING_; ditto for LOAD_. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Done. | ||
- ``KERNING_UNFITTED`` | ||
- ``KERNING_UNSCALED`` | ||
The following constants are now part of `.ft2font.LoadFlags` (without the ``LOAD_`` | ||
prefix): | ||
- ``LOAD_DEFAULT`` | ||
- ``LOAD_NO_SCALE`` | ||
- ``LOAD_NO_HINTING`` | ||
- ``LOAD_RENDER`` | ||
- ``LOAD_NO_BITMAP`` | ||
- ``LOAD_VERTICAL_LAYOUT`` | ||
- ``LOAD_FORCE_AUTOHINT`` | ||
- ``LOAD_CROP_BITMAP`` | ||
- ``LOAD_PEDANTIC`` | ||
- ``LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH`` | ||
- ``LOAD_NO_RECURSE`` | ||
- ``LOAD_IGNORE_TRANSFORM`` | ||
- ``LOAD_MONOCHROME`` | ||
- ``LOAD_LINEAR_DESIGN`` | ||
- ``LOAD_NO_AUTOHINT`` | ||
- ``LOAD_TARGET_NORMAL`` | ||
- ``LOAD_TARGET_LIGHT`` | ||
- ``LOAD_TARGET_MONO`` | ||
- ``LOAD_TARGET_LCD`` | ||
- ``LOAD_TARGET_LCD_V`` | ||
The following constants are now part of `.ft2font.FaceFlags`: | ||
- ``EXTERNAL_STREAM`` | ||
- ``FAST_GLYPHS`` | ||
- ``FIXED_SIZES`` | ||
- ``FIXED_WIDTH`` | ||
- ``GLYPH_NAMES`` | ||
- ``HORIZONTAL`` | ||
- ``KERNING`` | ||
- ``MULTIPLE_MASTERS`` | ||
- ``SCALABLE`` | ||
- ``SFNT`` | ||
- ``VERTICAL`` | ||
The following constants are now part of `.ft2font.StyleFlags`: | ||
- ``ITALIC`` | ||
- ``BOLD`` |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.