-
Notifications
You must be signed in to change notification settings - Fork 216
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
Variable OTCs are broken with HarfBuzz<3.3.0 #217
Comments
What does "broken" mean? Did you try the same thing with other OTCs besides Noto CJK/Source Han? One thing that's probably unique for these is that the CFF2 table is identical across the separate fonts included in the OTC. |
This is a bad interaction between certain versions of Pango and HarfBuzz (FreeType has a convention of using the higher bits of face index for named instance index, Pango assumed HarfBuzz follows the same convention but it didn't), that was later fixed. Nothing to change in the font. |
@punchcutter by broken I mean it shows the placeholder glyph instead actual CJK characters. My initial assumption was that this is a bug elsewhere and not in the font, because it was working correctly in my updated Arch Linux host system, but not in environments that have non-recent libs, specifically glyphs were not showing up in Flatpak apps. As I said in my 1st comment, this issue was opened for documenting that there was a problem, which might help someone in the future. @khaledhosny thanks for confirming that this isn't a font issue. Closing as this not a font issue. |
You can check the release notes if there is anything else that might affect you. I recommend updating to the latest HarfBuzz, though, since we are API and ABI stable (even across major version numbers). |
You could add "Special Note: This deployment format requires HarfBuzz 3.3.0 or later on Linux." to the READMEs. |
It was a short lived bug that doesn't warrent such mention, it is unfortunate that certain users are stuck with the bad combination of Pango and HarfBuzz. |
@khaledhosny thanks again!
Backward compatibility is a requirement for the Freedesktop Flatpak runtime, and a quick test suggest that the ABI in not backward compatible. From 3.0.0 to 3.3.0 there are 7 added symbols. |
The ABI is backward compatible but not forward compatible (forward compatibility is rather unattainable in an actively developed library) but this is going really out of topic for this project. |
Might not be a Noto CJK issue, but it should be noted down.
From what I can tell, this is fixed by harfbuzz/harfbuzz@da7dba0.
The text was updated successfully, but these errors were encountered: