<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>74286</bug_id>
          
          <creation_ts>2004-02-05 21:57:08 +0000</creation_ts>
          <short_desc>font face = uninstalled font yields standard font even if substitution specified in qtconfig and fontconfig</short_desc>
          <delta_ts>2008-04-13 18:27:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml renderer</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>57485</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marciano Siniscalchi">marciano</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>202120</commentid>
    <comment_count>0</comment_count>
    <who name="Marciano Siniscalchi">marciano</who>
    <bug_when>2004-02-05 21:57:08 +0000</bug_when>
    <thetext>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 &quot;standard&quot; font instead. This can be checked with a simple HTML file that contains e.g.

&lt;font face=&quot;arial&quot;&gt;This should be Arial&lt;/font&gt;

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202249</commentid>
    <comment_count>1</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-02-06 10:32:57 +0000</bug_when>
    <thetext>this is a known limitation of the way fontconfig works. It doesn&apos;t return arial as valid font when you ask about the available fonts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202365</commentid>
    <comment_count>2</comment_count>
    <who name="Marciano Siniscalchi">marciano</who>
    <bug_when>2004-02-06 16:57:26 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202402</commentid>
    <comment_count>3</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-02-06 18:24:49 +0000</bug_when>
    <thetext>they ask for different things. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>593983</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Leupold">lemma</who>
    <bug_when>2008-04-13 18:27:22 +0000</bug_when>
    <thetext>Confirmed to be a duplicate. I&apos;m closing this as the other report is a little more verbose.

*** This bug has been marked as a duplicate of 57485 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>