Bug 159265

Summary: Not all avaliable monospace fonts appear in monospace fonts selection menus
Product: [I don't know] kde Reporter: Dmitriy <D.Turovec>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.