-
Notifications
You must be signed in to change notification settings - Fork 682
[coretext] Add hb_coretext_font_create() #629
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
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.
Could you put a comment somewhere how this is supposed to be used, i.e. use this API not mixed with hb_coretext_face_create API for example?
Otherwise looks okay to me.
| if (unlikely (hb_object_is_inert (font))) | ||
| return font; | ||
|
|
||
| /* Let there be dragons here... */ |
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.
?
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.
Normally that value (ctfont) is automatically created on-demand by HarfBuzz generic layer. We are sneaking in and setting it here. It works and is correct, but is fragile if the rest of the code changes....
|
@ebraminio since when we started -Werror'ing? So, Mac build has been broken since, because of the deprecation warnings? |
|
Ok I see I'm the one who added that... |
|
Can we add -Wno-deprecated-declarations to OS X builds? |
Does having access to a macOS terminal help you perhaps to try that or #486? If so, I guess CircleCI provides macOS machines with SSH access. |
Seems like I fixed it. ssh to mac would be nice if it works. But if it's too much work to figure out every time I needed every six months, easier to just sit next to drott physically somewhere in the world and do it together. |
|
Turned out CircleCI's macOS support needs some fee unlike TravisCI :( |
5bb73e7 to
2efa1ef
Compare
Fixes #628 New API: hb_coretext_font_create()
Uncompiled, untested.
Fixes #628
New API:
hb_coretext_font_create()