[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989834: konsole: Only possible to select the smallest available size for OpenType Bitmap fonts



Package: konsole
Version: 4:20.12.3-1
Severity: normal
Tags: a11y
X-Debbugs-Cc: tim@seoss.co.uk

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.

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.

Restart Konsole.  The desired size is now selectable via the Konsole
profile editor.

Thanks!

Tim.

p.s. I've tagged this as a11y because I use bitmap fonts AND high dpi
displays to avoid chronic eye strain (without which I am limited to
about 30 minutes max screen time per day).  Whilst I can use vector
fonts (e.g. Hack), and also disable font smoothing in the Konsole
settings, the resulting fonts look quite ugly, and aren't as easy to
read.  So, I think I consider this an a11y issue (albeit quite a niche
one).  See also #989831.




-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages konsole depends on:
ii  kio                    5.78.0-4
ii  konsole-kpart          4:20.12.3-1
ii  libc6                  2.31-12
ii  libkf5configcore5      5.78.0-4
ii  libkf5configwidgets5   5.78.0-2
ii  libkf5coreaddons5      5.78.0-4
ii  libkf5crash5           5.78.0-3
ii  libkf5dbusaddons5      5.78.0-2
ii  libkf5globalaccel-bin  5.78.0-3
ii  libkf5globalaccel5     5.78.0-3
ii  libkf5i18n5            5.78.0-2
ii  libkf5iconthemes5      5.78.0-2
ii  libkf5kiowidgets5      5.78.0-4
ii  libkf5notifyconfig5    5.78.0-2
ii  libkf5widgetsaddons5   5.78.0-2
ii  libkf5windowsystem5    5.78.0-2
ii  libkf5xmlgui5          5.78.0-2
ii  libqt5core5a           5.15.2+dfsg-7
ii  libqt5gui5             5.15.2+dfsg-7
ii  libqt5widgets5         5.15.2+dfsg-7
ii  libstdc++6             10.2.1-6

konsole recommends no packages.

Versions of packages konsole suggests:
ii  lrzsz  0.12.21-10+b1

-- no debconf information


Reply to: