Comment 10 for bug 1861340

Revision history for this message
Jonathan Hartley (tartley) wrote :

I succeeded with the process of converting a bitmap font into a vector format with embedded bitmaps, which Pango will display. It took me hours to figure out, so for anyone else:

Use fontforge, as described here:
https://gitlab.gnome.org/GNOME/pango/issues/386#note_570411

The gotcha is that once you've installed the resulting font, then it displays invisibly in font selection dialogs. However, don't give up there! If you click around blindly to select the font you want, then the font displays correctly in gnome-terminal, including all size variations, with bold and italic variants.

There is some residual weirdness in that selecting a font size that is not defined in the bitmap (e.g. when using 'ctrl-+'), the terminal goes completely blank instead of falling back to another font.

For me, using fonttosfnt, as also described in that thread, had many serious issues (eg the resulting font only preserved the bitmap's smallest size variant)