Bug 439936

Summary: Debian 11 - only the smallest available point size is offered in font selection for Opentype bitmap fonts.
Product: [I don't know] kde Reporter: Tim Small <tim>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screengrab Gnome Font Manager on Debian 11
KDE font selector previewing the Terminus Bold Opentype Bitmap font on Debian 11

Description Tim Small 2021-07-16 08:04:26 UTC
SUMMARY

In Debian 11 (scheduled for release 2021-07-31), only the smallest available point size is offered in font selection for Opentype bitmap fonts.

STEPS TO REPRODUCE

When selecting a bitmap font via Konsole -> Settings -> Configure
Konsole -> Profiles -> Edit -> Appearance -> Font -> Choose, only the
smallest font size is displayed for OpenType bitmap fonts.

e.g. Install the fonts-terminus-otb package, and run the command:

fc-query /usr/share/fonts/opentype/terminus/terminus-normal.otb

The following is amongst the report:

pixelsize: 12(f)(s) 14(f)(s) 16(f)(s) 18(f)(s) 20(f)(s) 22(f)(s) 24(f)(s) 28(f)(s) 32(f)(s)

Terminus is selectable in the list of fonts via the Konsole profile
editor, but only the smallest pixelsize (12) is listed as a selectable
option.

OBSERVED RESULT

Only smallest available font size is offered

EXPTECTED RESULT

All included fonts sizes are available

Workaround:

Open the font file with fontforge, import only the desired size (e.g.
32), rename the font in Menu -> Element -> Font Info (e.g. "Terminus" to
"Terminus32", then export as an OpenType bitmap font (File -> Generate
Fonts -> "X11 bitmap only sftnt (otb)" -> Generate. Import the saved
font via KDE -> System Settings -> Font Management -> Install from File. 


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian 11
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Debian bug #989834
Comment 1 Tim Small 2021-07-16 08:19:05 UTC
Created attachment 140107 [details]
Screengrab Gnome Font Manager on Debian 11

Screengrab of Gnome Font Manager previewing the Terminus Bold Opentype Bitmap font on Debian 11
Comment 2 Tim Small 2021-07-16 08:20:29 UTC
Created attachment 140108 [details]
KDE font selector previewing the Terminus Bold Opentype Bitmap font on Debian 11

Screengrab of KDE font selector previewing the Terminus Bold Opentype Bitmap font on Debian 11
Comment 3 Nate Graham 2021-08-03 18:00:10 UTC
This font chooser comes straight from Qt, so it would be a Qt issue. Please report it at https://bugreports.qt.io/ Thanks!