Bug 424777 - Liberation Mono not available in Konsole
Summary: Liberation Mono not available in Konsole
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 20.04.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-29 05:43 UTC by Kostya Vasilyev
Modified: 2020-08-17 18:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
fc-list output (60.65 KB, text/plain)
2020-07-29 05:43 UTC, Kostya Vasilyev
Details
screenshot (565.12 KB, image/png)
2020-07-29 05:44 UTC, Kostya Vasilyev
Details
screenshot (229.32 KB, image/png)
2020-07-29 05:44 UTC, Kostya Vasilyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostya Vasilyev 2020-07-29 05:43:47 UTC
Created attachment 130471 [details]
fc-list output

SUMMARY

Liberation Mono not available in Konsole

STEPS TO REPRODUCE

I'm running Fedora 32, 64 bit.

Liberation Mono is not available in Konsole, does not show in the appearance -> font selection dialog.

It is available in other apps including KWrite. I'm attaching screenshots of both.


OBSERVED RESULT

Liberation Mono is available in Konsole.


EXPECTED RESULT

Liberation Mono is missing in Konsole.

SOFTWARE/OS VERSIONS

Operating System: Fedora 32
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.7.10-201.fc32.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 GiB of RAM


ADDITIONAL INFORMATION

Liberation Mono is installed from Fedora repo. There are some other fonts in ~/.fonts but those do not include Liberation.

I am attaching screenshots of Konsole and KWrite and the output of fc-list.

This looks like same bug (although it's filed against a Debian based system):

https://bugs.trinitydesktop.org/show_bug.cgi?id=3055

On the other hand, printing spacing in fc-list gives this:

-----
$ fc-list : family style file spacing | grep -i "liberation mono"
/usr/share/fonts/liberation-mono/LiberationMono-Regular.ttf: Liberation Mono:style=Regular
/usr/share/fonts/liberation-mono/LiberationMono-Bold.ttf: Liberation Mono:style=Bold
/usr/share/fonts/liberation-mono/LiberationMono-BoldItalic.ttf: Liberation Mono:style=Bold Italic
/usr/share/fonts/liberation-mono/LiberationMono-Italic.ttf: Liberation Mono:style=Italic
-----

.... which means fc-list is not recognizing Liberation Mono as a monospaced font?????
Comment 1 Kostya Vasilyev 2020-07-29 05:44:11 UTC
Created attachment 130472 [details]
screenshot
Comment 2 Kostya Vasilyev 2020-07-29 05:44:31 UTC
Created attachment 130473 [details]
screenshot
Comment 3 Christoph Feck 2020-08-17 18:33:00 UTC
> fc-list is not recognizing Liberation Mono as a monospaced font

Then the issue is either in the font, or in fontconfig. Qt simply uses fontconfig to check the font properties.