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

Issue warning when kerning against Zzzz (Unknown) script #747

Open
madig opened this issue May 18, 2023 · 0 comments
Open

Issue warning when kerning against Zzzz (Unknown) script #747

madig opened this issue May 18, 2023 · 0 comments

Comments

@madig
Copy link
Collaborator

madig commented May 18, 2023

A glyph with a PUA is determined to be an "Unknown" script, and OpenType forbids cross-script shaping. Khaled noted that this is implementation defined, it may work in Firefox but not Chrome, and a quick spot check confirms this.

Currently, the warning says something like "tried to kern Latn against Zzzz, skipping pair", so a more helpful message would be "tried to kern Latn against an unknown script (glyphs have PUA), this may not work reliably, therefore we drop this pair".

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

1 participant