Bug 78508

Summary: Bitstream Vera Sans Mono not available in konsole
Product: [Unmaintained] kdelibs Reporter: M G Berberich <kde>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description M G Berberich 2004-03-26 19:27:44 UTC
Version:           1.3 (using KDE 3.2.0,  (3.0))
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.6.4

The Bistream Vera Sans Mono Font does not show up in the "Settings->Font->Custom..." Dialogbox. The Vera Sans Mono font is monospaced and works (perfectly) if entered into the konsolerc by hand
Comment 1 Stephan Binner 2004-03-27 10:10:15 UTC
Works here. Which Qt version? Unpatched 3.3.1?
Comment 2 M G Berberich 2004-03-27 19:32:09 UTC
QT version is 3.2.1 from ftp.kde.org debian packages.
Comment 3 Karl Vogel 2004-03-28 13:46:08 UTC
This is usually when you don't have freetype enabled. Check if you have 'Use anti-aliasing for fonts' selected in 'kcmshell fonts'.
Another cause can be if you are using an X display that doesn't have the RENDER extension. Older X11 libs could only do anti-aliasing when RENDER was present. You can check this with 'xdpyinfo' you should have RENDER as an extension available.

Finally... your QT might be compiled without freetype support. ie. if other non-KDE apps give anti-aliased fonts, but only KDE doesn't, then it's probably caused by having a QT without freetype/Xft support.
Comment 4 Karl Vogel 2004-03-28 13:48:25 UTC
Oops.. somehow managed to miss the last part 'The Vera Sans Mono font is monospaced and works (perfectly) if entered into the konsolerc by hand'.
So guess freetype/Xft is working afterall :-)
Comment 5 M G Berberich 2004-03-28 17:18:09 UTC
KDE does not show "Bitstream Vera Sans Mono" in either konsole fontselector nor in "kcmshell fonts" under "Fixed width". Same holds for "Andale Mono". Both fonts show up in "kcmshell fonts" under any other entry (p.e. "General"). So possibly KDE does not recognice that these fonts are monospaced?
Comment 6 Stephan Kulow 2004-03-29 10:40:48 UTC
Try this

coolo@e36#~>fc-list : family style spacing | grep "Bitstream Vera"
Bitstream Vera Sans Mono:style=Bold:spacing=100
Bitstream Vera Sans:style=Oblique
Bitstream Vera Sans:style=Roman
Bitstream Vera Sans Mono:style=Oblique:spacing=100
Bitstream Vera Sans:style=Bold
Bitstream Vera Serif:style=Roman
Bitstream Vera Sans Mono:style=Bold Oblique:spacing=100
Bitstream Vera Sans:style=Bold Oblique
Bitstream Vera Sans Mono:style=Roman:spacing=100
Bitstream Vera Serif:style=Bold

I guess your Mono variants do not have spacing=100
Comment 7 M G Berberich 2004-03-29 10:52:29 UTC
exactly the same here: All Mono variants have spacing=100
Comment 8 Kurt Hindenburg 2004-06-06 07:52:50 UTC
Works with qt3.3.2.  I have the same as comment #6.

| KDE does not show "Bitstream Vera Sans Mono" in either konsole fontselector 
| nor in "kcmshell fonts" under "Fixed width". Same holds for "Andale Mono". 

Both fonts show up in kcmshell fonts under 'fixed width'.  
I think this is a qt issue... upgrade to 3.3.x. :-)(


You can also try running 'qtconfig' and look to see what fonts are allowed.
Comment 9 Matt Rogers 2004-09-15 05:26:35 UTC
Please upgrade to Qt 3.3 and see if the issue is still reproducible there. If so, please reopen this bug report. thanks.