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

Glyph Shaping #81

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft

Glyph Shaping #81

wants to merge 37 commits into from

Conversation

martinfouilleul
Copy link
Collaborator

This PR integrates harfbuzz to do glyph shaping on single-script runs. It also changes the text APIs so that you can create shaped oc_glyph_runs from a unicode string and shaping settings. You can then use these runs to measure text, figure out where a caret should land / which grapheme was clicked, draw the run at some size, etc.
(part of #77)

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.

1 participant