Skip to content
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

Use Harfbuzz for shaping #94

Merged
merged 3 commits into from
Mar 30, 2021
Merged

Use Harfbuzz for shaping #94

merged 3 commits into from
Mar 30, 2021

Conversation

jwiggins
Copy link
Member

This adds proper text shaping using Harfbuzz. I've tested with several complex Indian scripts and it its output is comparable to other software as long as an appropriate font is used. It works quite well with the FreeType code path. Windows is yet untested. I still need to figure out how to handle the dependency there.

@jwiggins jwiggins force-pushed the feature/harfbuzz-shaping branch 3 times, most recently from cd36783 to 9107da2 Compare March 22, 2021 09:18
celiagg/ndarray_canvas.hxx Outdated Show resolved Hide resolved
@jwiggins
Copy link
Member Author

Looks like the Harfbuzz library available via EDM (version 2.6.4) does not have GDI support. So no support on Windows for now. Guess I'll chase that down in a future PR...

@jwiggins jwiggins marked this pull request as ready for review March 22, 2021 16:44
@jwiggins jwiggins changed the title [WIP] Use Harfbuzz for shaping Use Harfbuzz for shaping Mar 22, 2021
@jwiggins
Copy link
Member Author

Ready to move on with this one...

@jwiggins jwiggins merged commit 0081a38 into main Mar 30, 2021
@jwiggins jwiggins deleted the feature/harfbuzz-shaping branch March 30, 2021 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant