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

Glyphset coverage calculation: Check for *shapable* character rather than relying on cmap table #178

Open
yanone opened this issue Apr 25, 2024 · 1 comment

Comments

@yanone
Copy link
Collaborator

yanone commented Apr 25, 2024

OT specs theoretically allow character composition on-the-fly from a base glyph and combining marks plus anchors without encoded characters being part of the font (a+¨ is sufficient, ä needn't be present).

Glyphset coverage calculations currently rely on encoded characters to be present, but I'd like to widen the calculation to check for characters that are shapable, not necessarily present in the cmap and glyf tables.

@khaledhosny
Copy link

OT specs theoretically allow character composition on-the-fly from a base glyph and combining marks plus anchors without encoded characters being part of the font (a+¨ is sufficient, ä needn't be present).

Though this works in Chrome, in most applications if the pre-composed character is missing from the font, the application will use a fallback font and will not try the decomposed form first.

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