notofonts / nototools

Noto fonts support tools and scripts plus web site generation
Apache License 2.0
270 stars 90 forks source link

notodiff doesn't cannot detect many differences in NotoSansMyanmar-Bold #338

Open xiangyexiao opened 7 years ago

xiangyexiao commented 7 years ago

I used notodiff to compare two versions of NotoSansMayanmar. See Archive.zip

It only reports a single glyph difference uni25CC.png, while fontdiff shows the two versions have a lot of differences. Check fontdiff report in NotoSansMyanmar-Bold.pdf.

From my eyes, it is also obvious one font is bolder than the other. Something must be wrong in notodiff to detect the wide differences.

uni25c_c_ NotoSansMyanmar-Bold.pdf

Archive.zip

jamesgk commented 7 years ago

Ahh, you'll notice that in the output notodiff reports large differences in glyph coverage. This is incorrect, but notodiff can't tell because the glyphs are inconsistently named.

I've encountered this before, and my idea to fix it is to match glyphs by their calculated harfbuzz input rather than by their names. I just haven't gotten around to it yet.