Bug 74286 - font face = uninstalled font yields standard font even if substitution specified in qtconfig and fontconfig
Summary: font face = uninstalled font yields standard font even if substitution specif...
Status: RESOLVED DUPLICATE of bug 57485
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 21:57 UTC by Marciano Siniscalchi
Modified: 2008-04-13 18:27 UTC (History)
0 users

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 Marciano Siniscalchi 2004-02-05 21:57:08 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    SuSE RPMs
OS:          Linux

My setup:

* Konqui fonts: Standard and Serif = Bitstream Vera Serif, Sans Serif = Bitstream Vera Sans

* fontconfig and qtconfig: set to replace Arial and Verdana with Bitstream Vera Sans, and Times New Roman with Bitstream Vera Serif

* MSFonts *not* installed [they render poorly and with wrong metrics without the native bytecode interpreter, which I cannot use]

Problem: if I specify e.g. Arial, or any font that is not installed, I get the "standard" font instead. This can be checked with a simple HTML file that contains e.g.

<font face="arial">This should be Arial</font>

The same behavior is in 3.2.0, and indeed in any version of Konqui/KHTML I have tried. No problem with Gecko-based browsers.

M
Comment 1 Stephan Kulow 2004-02-06 10:32:57 UTC
this is a known limitation of the way fontconfig works. It doesn't return arial as valid font when you ask about the available fonts.
Comment 2 Marciano Siniscalchi 2004-02-06 16:57:26 UTC
Hmmm... the above one-line HTML code yields the intended result with Firebird (i.e. I get Bitstream Vera Sans, my chosen replacement for Arial, and not the default font, which I have set to Bistream Vera Serif). Presumably fontconfig is passing the same info to both Firebird and KHTML?

M
Comment 3 Stephan Kulow 2004-02-06 18:24:49 UTC
they ask for different things. 
Comment 4 Michael Leupold 2008-04-13 18:27:22 UTC
Confirmed to be a duplicate. I'm closing this as the other report is a little more verbose.

*** This bug has been marked as a duplicate of 57485 ***