With Pango 1.44, support for PCF fonts has worsened. TrueType fonts with embedded bitmaps provide an alternative that is still supported. The format introduced with fonttosfnt is most commonly known as OpenType Bitmap (OTB). For example: https://fontforge.github.io/en-US/documentation/reference/bitmaponlysfnt/ . This extension was even blessed by Juliusz Chroboczek: https://marc.info/?l=xfree86-devel&m=105871202325560 .
In replacing bdftopcf with fonttosfnt, I found a few problems:
- There was a bug in a hardcoded description string
- Default parameters were chosen around 2003 and no longer reflect the real world
- Fonts could not be read from stdin, so fonttosfnt is no drop-in replacement for bdftopcf
This MR addresses all three issues.