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

Buffer API to set "not-found" glyph index to be used instead of .notdef=0 #1360

Closed
behdad opened this issue Nov 5, 2018 · 4 comments
Closed

Comments

@behdad
Copy link
Member

behdad commented Nov 5, 2018

I thought I had an issue open for this, but apparently not. Now that we have similar API for invisible glyph, we should add this as well.

@drott
Copy link
Collaborator

drott commented Nov 6, 2018

What's the one for "invisible glyph"? This might be helpful for the letter-spacing issue we have: CSS says letter spacing should not be applied to zero-width control characters.

@behdad
Copy link
Member Author

behdad commented Nov 6, 2018

hb_buffer_set_invisible_glyph()

@behdad
Copy link
Member Author

behdad commented Nov 6, 2018

You can also ask HB to remove the invisible glyphs. @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES

@drott
Copy link
Collaborator

drott commented Nov 6, 2018

You can also ask HB to remove the invisible glyphs. @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES

I tried that and the world started crashing because Blink side code does not handle the mismatching character indices, I guess.

@behdad behdad closed this as completed in da50056 Oct 26, 2021
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

No branches or pull requests

2 participants