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

WIP: Basic support for text shaping #112

Closed
wants to merge 4 commits into from
Closed

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented May 17, 2018

This adds very minimal support for using hb_shape through the safe Rust API. It's not very complete, and I welcome any feedback on the design.


This change is Reviewable

}

impl<'a> Glyph<'a> {
/// Either a Unicode code point (before shaping) or a glyph ID (after shaping)

This comment has been minimized.

@waywardmonkeys

waywardmonkeys Jun 22, 2018

Collaborator

Could we have 2 separate structs for this and only have the right thing at the right time?

This comment has been minimized.

@waywardmonkeys

waywardmonkeys Jun 22, 2018

Collaborator

I have wondered if that extends all the way to consuming a Buffer and having a ShapedBuffer...

@mbrubeck mbrubeck closed this Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.