notofonts / noto-cjk

Noto CJK fonts
http://www.google.com/get/noto/help/cjk
2.95k stars 214 forks source link

Unusable values in baseline table #215

Closed xry111 closed 2 years ago

xry111 commented 2 years ago

With font baseline support added in harfbuzz-4.0.0 and pango-1.50.5, noto-cjk is rendered in wrong vertical location if it's mixed with other fonts in one line. The analysis from harfbuzz and pango guys suggests the baseline table of noto-cjk contains some insane values. See related issues for detail:

NightFurySL2001 commented 2 years ago

@xry111 Can you verify if this issue is reproducible with Source Han Sans too? Source Han is the main development repo for this project, it'll be better to open an issue there.

punchcutter commented 2 years ago

The fonts are fine. There was a harfbuzz bug https://github.com/harfbuzz/harfbuzz/issues/3476 that is now fixed. However, the linked issues for harfbuzz and typography-issues are not exactly related. This issue is about Horizontal layout and the "vertical" position of the glyphs there. Other issues are talking about Vertical layout which is not relevent to this particular issue.

xry111 commented 2 years ago

Closing, because we'd made a false assumption that these values had triggered harfbuzz issue.