lucy / tewi-font

small bitmap font
MIT License
608 stars 21 forks source link

Freetype update broke bitmap fonts #35

Open Wouter-Lemoine opened 5 years ago

Wouter-Lemoine commented 5 years ago

https://sourceforge.net/projects/freetype/files/freetype2/2.10.0/ - FreeType now uses the `defaultChar' property of PCF fonts to set the glyph for the undefined character at glyph index 0 (as FreeType already does for all other supported font formats). As a consequence, the order of glyphs of a PCF font if accessed with FreeType can be different now compared to previous versions.

DarkDefender commented 5 years ago

I can confirm, I'm getting strange charaters instead of space with freetype 2.10: freetype

OrdinaryMagician commented 5 years ago

oh, I noticed this too, was very confused

Brottweiler commented 5 years ago

I am using st and Tewi fonts work, but they make st perform really slow, and when resizing it takes several seconds to rerender everything. I can't even get Tewi to work in Termite at all actually they work in Termite as well, but there's weird missing symbols and stuff is stretched out...

lucy commented 5 years ago

Using the raw bdfs should work. I don't have a linux install to figure this out on currently.

diffficult commented 5 years ago

pango 1.44.1-1 dropped support for bitmap fonts, your best bet right now if you want to stick with them is to downgrade to 1.43.0-2 and add pango to your ignored packages list.

There is an issue already opened and there are good posts on how to generate your own .ttf version but it would be nice to get an official version made by @lucy

OrdinaryMagician commented 5 years ago

Well this is just ridiculous then.

DarkDefender commented 5 years ago

It seems like .otb fonts are still supported in the new pango: https://github.com/NerdyPepper/curie/issues/12

So it would just be a matter of converting the bdf files to otb

ghost commented 5 years ago

+1 with having an official conversion to OTB. I still cannot find a similar font to tewi that is supported by pango and isn't broken.