Bug 159265 - Not all avaliable monospace fonts appear in monospace fonts selection menus
Summary: Not all avaliable monospace fonts appear in monospace fonts selection menus
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 22:09 UTC by Dmitriy
Modified: 2008-03-13 23:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy 2008-03-13 22:09:16 UTC
Version:            (using KDE 3.5.9)
Installed from:    Gentoo Packages
OS:                Linux

I have a lot of third-party TTF fonts installed, and some of them are monospace fonts, they are surely monospace, but they are not available in font selection dialogs in KControl or Konsole, for example, where only monospace fonts are supposed to be avaliable for selection.

The particular font I'm interested in is Lucida Sans Typewriter, a good TTF monospaced font which is supplied in Java SDKs. That is what xfontsel says about this font:
-b&h-lucida sans typewriter-medium-r-normal--12-120-75-75-m-0-iso10646-1

As we can see, "m" bit is here, not saying that it is monospace just if to look at it. )

Some more info:
XD1 centurion # fc-match "Lucida Sans Typewriter"
LucidaTypewriterRegular.ttf: "Lucida Sans Typewriter" "Regular"

It is not the only font that is inaccesible where it is really needed. So behave special monospace fonts for thai language and others, though DejaVu Sans Mono and Courier New (and some others) are all right.
Comment 1 Dmitriy 2008-03-13 23:32:01 UTC
Aha, sorry for disturbing. I found the source of the problem. The thing was in one of the font files, responsible for Lucida Sans Typewriter bold oblique. After removing this file the font appeared in the lists. It was probably because bold oblique gained priority over the Regular outline, and thus didn't allow the font to appear in dialogs.