-
Notifications
You must be signed in to change notification settings - Fork 686
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add font.compact() to Python API #4441
Conversation
A little bird pointed us to the existing I don't have any strong opinions about whether to add this interface. (I do wish the python API wasn't so fixated on properties and assignments but it doesn't seem detrimental in this case.) |
Yeah the reason I'm adding this is because I made an icon font recently as mentioned at #4378 (comment) ... due to how most icon fonts are expected to work, the icons are always going to be way off screen when opening SFD. I suppose a Custom encoding is usable, but trying to set I'll take a look at |
@ctrlcctrlv I think the suggestion is to try (with the existing code) a) opening the font in python, b) do I just tried it and it seems to work. |
c5ef422
to
a434cea
Compare
@skef Force pushed, this is now a documentation-only change. Thanks. |
a434cea
to
3cc9c2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Per fontforge/fontforge#4441 (GitHub)
Per fontforge/fontforge#4441 (GitHub)
Adds a function to the Python API that has the identical effect as «Encoding→Compact».
Type of change