Bug#1013267: fontforge: BDF font generation: FONT_ASCENT and FONT_DESCENT properties are missing
Package: fontforge
Version: 1:20220308~dfsg-1
Severity: important
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
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fontforge depends on:
ii fontforge-common 1:20220308~dfsg-1
ii libc6 2.33-7
ii libcairo2 1.16.0-5
ii libfontforge4 1:20220308~dfsg-1
ii libglib2.0-0 2.72.2-2
ii libgtk-3-0 3.24.34-1
ii libpango-1.0-0 1.50.7+ds-1
ii libpangocairo-1.0-0 1.50.7+ds-1
ii libpython3.10 3.10.5-1
ii sgml-base 1.30
fontforge recommends no packages.
Versions of packages fontforge suggests:
pn fontforge-doc <none>
pn fontforge-extras <none>
pn potrace <none>
pn python3-fontforge <none>
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: