tewi-font icon indicating copy to clipboard operation
tewi-font copied to clipboard

Freetype update broke bitmap fonts

Open Wouter-Lemoine opened this issue 5 years ago • 8 comments

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.

Wouter-Lemoine avatar Mar 18 '19 15:03 Wouter-Lemoine

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

DarkDefender avatar Mar 19 '19 23:03 DarkDefender

oh, I noticed this too, was very confused

OrdinaryMagician avatar Mar 20 '19 13:03 OrdinaryMagician

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...

Brottweiler avatar Mar 29 '19 23:03 Brottweiler

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

lucy avatar Apr 13 '19 18:04 lucy

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

diffficult avatar Jul 30 '19 14:07 diffficult

Well this is just ridiculous then.

OrdinaryMagician avatar Aug 01 '19 14:08 OrdinaryMagician

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

DarkDefender avatar Aug 17 '19 12:08 DarkDefender

+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.

ghost avatar Nov 03 '19 02:11 ghost