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

[notodiff]: Add heuristics to minimize false diff reporting #487

Open
marekjez86 opened this issue Jun 19, 2019 · 0 comments
Open

[notodiff]: Add heuristics to minimize false diff reporting #487

marekjez86 opened this issue Jun 19, 2019 · 0 comments

Comments

@marekjez86
Copy link
Contributor

Notodiff works well for different versions of the same font. However, sometimes it is useful to compare similar fonts of different vendors.

Despite their glyph coverage can be very close, notodiff finds and reports lots of differences, because glyph names assignment is not standardized and font vendors can assign completely different names for glyphs that look identical and mapped to the same unicode characters.

Though strict mapping is impossible, provide some heuristics that can map some of glyph names and reduce number of reported false differences.

Examples:
Rule-based names: ‘glyphXXXX’ to ‘uniXXXX‘
Cmap reverse mapping ‘glyphXXXX’ (font 1 cmap) -> code point XXXX -> (font 2 cmap) ‘uniXXXX’

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