Bug 229400 - Some monospace fonts are not listed in the font selection dialog of konsole
Summary: Some monospace fonts are not listed in the font selection dialog of konsole
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 251661 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-04 15:24 UTC by Daniel
Modified: 2011-10-28 21:01 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2010-03-04 15:24:54 UTC
Version:           2.3.2 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

It seems that Konsole will only allow the user to select a monospace font. Even though this feature questionably restricts the user's freedom, that is a separate matter. I am filing this bug report because this feature does not appear to work as intended.

I have in my $HOME/.fonts some monospace fonts, such as Monaco, that Konsole will not let me choose. I can choose that font in other applications, for instance Konversation, with no problems. Even after restarting my system, Konsole still did not show this font in the Font selection dialog.

Even some fonts installed system-wide from the Debian repositories, such as Unifont, are also filtered.

I think that this font-filtering feature should at the very least be adjusted to include any and all monospace fonts.
Comment 1 Robert Knight 2010-03-04 17:55:47 UTC
> Even though this feature questionably restricts the user's freedom,
> that is a separate matter

Konsole only allows the selection of mono-space fonts because it is not capable of rendering variable-width fonts properly.  The screen is divided up into equal-sized rectangular 'cells' and it is assumed that each character occupies either one or two cells on screen.  This model of a terminal screen is also assumed by many terminal applications which will consequently break in the face of variable-width text.

As for why Monaco and Uni-font are not shown, I don't have an immediate answer - that needs investigating.
Comment 2 Daniel 2010-03-04 18:13:04 UTC
I've noticed another monospace font that is filtered: WenQuanYi Zen Hei Mono.

If I can provide any additional info, let me know.
Comment 3 Horacio Sanson 2010-04-25 15:55:32 UTC
Wondering if there is any activity to solve this font problem in Konsole. I am unable to use the monaco fonts in Konsole 2.3.3 and Yakuake 2.9.6.
Comment 4 Horacio Sanson 2010-05-07 01:03:08 UTC
Upgraded to Kubuntu 10.04 LTS (KDE 4.4.2) and the problem disappeared. Now the Monaco fonts can be selected inside Konsole/Yakuake.
Comment 5 Daniel 2010-05-18 15:34:45 UTC
In 2.3.3, GohuFont now works. Monaco still does not.
Comment 6 Daniel Hahler 2010-05-30 02:27:41 UTC
Daniel, can you try a later Konsole?
Ubuntu Lucid ships 2.4.3 and according to Ryujin the problem is fixed there.
Comment 7 Christoph Feck 2011-06-10 01:27:56 UTC
See also bug 275270.
Comment 8 Jekyll Wu 2011-08-21 02:18:40 UTC
*** Bug 251661 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2011-10-28 21:01:59 UTC
Konsole doesn't make any font-filtering itself except asking Qt to only list monospace fonts. It is the Qt library that judges whether a font is monospace or not. 

As for the Monaco font, it is listed as a monospace font when using Qt-4.7.4.