#1013267 fontforge: BDF font generation: FONT_ASCENT and FONT_DESCENT properties are missing

Package:
fontforge
Source:
fontforge
Description:
font editor
Submitter:
Vincent Lefevre
Date:
2026-01-27 02:43:02 UTC
Severity:
important
Tags:
#1013267#5
Date:
2022-06-20 11:44:55 UTC
From:
To:
FontForge generate invalid BDF files with File → Generate Fonts.
As a consequence, bdftopcf complains and the font is unusable.

To reproduce (e.g. without modifying the original font):

  fontforge /usr/share/fonts/X11/misc/6x13.pcf.gz

then generate the BDF file (choose 75 as the BDF resolution, as
in the original font). Then

$ bdftopcf FixedMedium-13.bdf
BDF Error on line 29: missing 'FONT_ASCENT' or 'FONT_DESCENT' properties
bdftopcf: bdf input, FixedMedium-13.bdf, corrupt

#1013267#10
Date:
2022-08-23 13:44:06 UTC
From:
To:
Control: tags -1 upstream
Control: forwarded -1 https://github.com/fontforge/fontforge/issues/5089

I can reproduce the issue with the current upstream master.
So I have reported the bug upstream.

#1013267#19
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1013267#24
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1013267#29
Date:
2026-01-27 02:12:27 UTC
From:
To:
Control: tags -1 fixed-upstream

Fixed in https://github.com/fontforge/fontforge/pull/5710