Skip to content

Glyph Shaping#81

Draft
martinfouilleul wants to merge 37 commits intomainfrom
martin/text-layout
Draft

Glyph Shaping#81
martinfouilleul wants to merge 37 commits intomainfrom
martin/text-layout

Conversation

@martinfouilleul
Copy link
Copy Markdown
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