Bug 38808

Summary: Most fonts with "[Xft]" suffix are not displayed
Product: [Applications] konqueror Reporter: Wolfgang Westphal <wolfgang.westphal>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wolfgang Westphal 2002-02-28 22:36:57 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           4.0 (using KDE 2.9.0 3 (CVS >= 20020213))
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux (i686) release 2.2.13
OS/Compiler notes: 

When using font names with the manufactorer suffix as they are displayed in the font lists (like "[Monotype]" or "[Xft]") KHTML most times uses a standard font for text rendering. This makes it for example quite hard to find a font for the message display in KMail.

The testcase below should demonstrate what I mean. Courier New and Lucida Console are only used when specified in the "pure form" whereas Monospace821 BT works with and without "[Xft]".

<html>
<body>
<p><font face="Courier New [Xft]">Courier New [Xft]</font></p>
<p><font face="Courier New [Monotype]">Courier New [Monotype]</font></p>
<p><font face="Courier New">Courier New </font></p>
<p><font face="Lucida Console [Xft]">Lucida Console [Xft]</font></p>
<p><font face="Lucida Console">Lucida Console</font></p>
<p><font face="Monospac821 BT [Xft]">Monospac821 BT [Xft]</font></p>
<p><font face="Monospac821 BT">Monospac821 BT</font></p>
</body>

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Lars Knoll 2002-03-03 12:33:11 UTC
Thank you for your bug report.
The bug that you reported has been identified and has been fixed in the
latest development (CVS) version of KDE. The bug report will be closed.