-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
refactor ftface_props example #3630
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
Conversation
Not a huge fan of this change, I think it hides the bit-shift logic under a bit too much clever. |
Haven't looked at this file in a while. Note that these constants are now defined in the ft2font extension itself, so there's no need to recreate their values here. i.e., one can just do |
@mdboom just found a typo in the values of the style identifiers in ft2font.cpp What do you think about my last commit. Is it still too clever? |
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
rebased |
Thanks. The typo fixed here is legit. Thanks for catching. I think the latest version of the example file here is much better, and not "too clever". 👍 from me. |
BTW this fixes many pep8 errors in this file