Bug 93574 - Some font variants are not listed in the font chooser
Summary: Some font variants are not listed in the font chooser
Status: RESOLVED WORKSFORME
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcmfonts (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: rik
URL:
Keywords:
: 106604 150522 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-19 13:17 UTC by Adrien Beau
Modified: 2013-04-20 10:10 UTC (History)
4 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 Adrien Beau 2004-11-19 13:17:39 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Slackware Packages
Compiler:          gcc (GCC) 3.3.4 Stock Slackware 10.0 compiler
OS:                Linux

The KDE font chosser seems to be restricted to the four common font variants (normal, italic, bold, bold italic). However, some commonly available fonts offer different variants, notably the "condensed" variant.

This variant is very useful for lists that shall not take too much screen space, such as the KMail list of folders. The PostScript font set includes such variants, so most computer systems have them (be they Helvetica Narrow, Arial Narrow or the GPL'd Nimbus Sans L Condensed). While some vendors have chosen to ship their condensed version under a different name to simplify their font choosers, Nimbus Sans L, which is installed on most Linux systems as part of the Ghostscript package, does not. Eight variants are available, only four of which can be selected under KDE.

The problem can be worked around using fontconfig's config files, basically creating a new font name for the four condensed variants. This is however a hack (which I have not tried yet). Maybe instead the KDE font chooser can be altered to offer a wider list of choices in the Style column, which would (and should?) reflect all possible style values present in fontconfig cache files?

(A similar problem exists for the "Demi" variants, but this may be a bug in fontconfig, which should document them as bold variants. There are fonts with several bold versions though, and KDE would not allow to choose between them.)
Comment 1 Denis Jacquerye 2006-05-04 22:00:00 UTC
There's more types of variants around. But because of the (normal, italic, bold, bold italic) dictature of Windows most font foundries break up font families this way. But the specs allow weights from 100,200,...,900 or thin, extralight, light, regular, medium, demi, bold, extrabold, black and other aliases.

I made a test page with some sample fonts if you need fonts to test weights: http://home.sus.mcgill.ca/~moyogo/fonts/test/weighttest.htm
Comment 2 Denis Jacquerye 2006-05-04 22:01:47 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 Simon Hausmann 2006-12-12 14:47:55 UTC
*** Bug 106604 has been marked as a duplicate of this bug. ***
Comment 4 Simon Hausmann 2006-12-12 14:48:51 UTC
This is now tracked upstream at

http://www.trolltech.com/developer/task-tracker/index_html?id=143304&method=entry
Comment 5 Raphael Kubo da Costa 2009-11-08 02:01:00 UTC
New bug tracker URL:

http://bugreports.qt.nokia.com/browse/QTBUG-370
Comment 6 Raphael Kubo da Costa 2009-11-08 02:12:11 UTC
*** Bug 150522 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2013-04-20 10:10:16 UTC
Testing with Liberation Sans, all the Condensed variants are shown in KDE's font chooser.