Support back bitmap fonts dropped by Pango
Environment/Versions
- GIMP version: master
- Package:
- Operating System: all
Description of the bug
Pango dropped support for bitmap fonts (X fonts, etc.) in version 1.44. We lost support too at this point.
It is apparently possible to get back support by using FreeType to load fonts. @barefootliam says about this:
00:16 < ankh> Jehan, akk - yes, it's possible for us to use FreeType to load fonts and then hand them to pango/harfbuzz.
00:17 < ankh> e.g. scribus uses freetype to load fonts (and i've done it with harfbuzz, but not pango)
Note that according to the blog post announcing the feature drop, they were discouraging using FreeType for font loading because of some broken feature. I guess ideally we would only load bitmap fonts with Freetype and the rest the current way? Hopefully that's possible.
Note that I don't consider it a priority, but it would be very nice to get back support for these. So I'm adding this report to %Future milestone as a reminder that it should be possible to do.
Reproduction
Is the bug reproducible?
Reproduction steps:
- Try to load an X bitmap fonts in GIMP.
Expected result: It should work.
Actual result: It doesn't.