[arch-general] pango 1:1.44-1 Renders Bitmap Fonts as Boxes.
admin at progandy.de
Sun Jul 28 19:52:58 UTC 2019
Am 28.07.19 um 20:35 schrieb David Rosenstrauch:
> On 7/28/19 7:49 AM, Ralph Corderoy wrote:
>> To save others' time, on upgrading to pango 1:1.44-1 today my terminal
>> emulator and other programs displayed empty boxes instead of bitmap-font
>> glyphs. This is due to deliberate dropping of support by Pango.
>> I don't think xterm(1) uses Pango given ldd(1)'s output, and it's
>> happily displaying nice crisp glyphs.
> Yeah, I just discovered this the hard way. Very annoying. Doesn't seem
> like there's any fix/workaround either.
You can convert your BDF/PCF fonts to the "X11 bitmap only sfnt (otb)"
OpenType format, which harfbuzz does support. As far as I know,
there are no tools that do this easily. (There are a few old projects on
github that might give a starting point like bdf2ttf). You can probably
script fontforge, though. I think it should also be possible to put all
different bitmap sizes and codepages in a single file, but that might
require more manual work.
Adobe Type1 (PostScript) fonts can be converted to OTF with the Adobe
Font Development Kit for OpenType (AFDKO) (The AUR package is out of
date). This format should be readble by harfbuzz as well.
"Note that Harfbuzz does support loading
bitmap-only OpenType fonts."
More information about the arch-general