-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Update ofTrueTypeFont.cpp to make it work with Emscripten #6764
Conversation
Hmm. This change does change the way text is rendered for all other platforms too. Do you have any error messages that pointed you towards removing that flag? If it is just not supported anymore we could do something like this which would remove it just for emscripten.
|
@ofTheo that looks good. It would be even better to make FT_LOAD_FORCE_AUTOHINT work with Emscripten again, but not sure how to do that. |
The error message (in the browser) is: |
Going to close this @Jonathhhan as it has a bunch of unrelated commits. I think maybe it would be good to clone the OF Github to another location on your hardrive ( just for doing PRs ). so in another location on your computer:
Anytime you want to do a PR:
|
Hey @ofTheo, |
No problem! To be honest, it took me a while to get a good workflow for doing PRs too, so thought I would share. 🙂 |
Actually this change does not seem to be necessary anymore with the current Emscripten (3.1.19). |
I made a pull request coming from this issue: #6745
Not sure if my change has any drawbacks.