FS#62334 - [dina-font] pcf format issues, possibly change to bdf

Attached to Project: Community Packages
Opened by Ckat (Ckat) - Saturday, 13 April 2019, 20:04 GMT
Last edited by Toolybird (Toolybird) - Friday, 31 March 2023, 23:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
As of the latest freetype2 updates(2.10) it 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. (https://sourceforge.net/projects/freetype/files/freetype2/2.10.0/)

This breaks a lot of PCF fonts in various ways, the most straight forward solution to this is to simply avoid the PCF format and use the BDF format, siji has also resolved it like this (https://github.com/stark/siji/issues/28).

Since the dina upstream provides these BDF formats, the fix would be pretty straight forward, for the time being I've put up this modified package on the aur as dina-font-bdf, but wanted to bring this issue to attention on this as well.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
- install latest freetype2 version
- attempt to use dina or other pcf formatted fonts
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 31 March 2023, 23:59 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pkg dropped to AUR
Comment by loqs (loqs) - Saturday, 13 April 2019, 21:00 GMT
FreeType bug report [1] which references a patch that resolves some of the issues.

[1] https://savannah.nongnu.org/bugs/index.php?56067

Edit:
Forum thread on the issue https://bbs.archlinux.org/viewtopic.php?id=245188

Loading...