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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31294</bug_id>
          
          <creation_ts>2009-11-10 08:02:31 -0800</creation_ts>
          <short_desc>[Qt] Font selection of generic fonts is broken</short_desc>
          <delta_ts>2010-01-14 08:06:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Hausmann">hausmann</reporter>
          <assigned_to name="Tor Arne Vestbø">vestbo</assigned_to>
          <cc>mike</cc>
    
    <cc>vestbo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>162049</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-10 08:02:31 -0800</bug_when>
    <thetext>The Qt port does not correctly choose the fonts specified in HTML/CSS.

This is a placeholder bug that we classify as showstopper for Qt 4.6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162050</commentid>
    <comment_count>1</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-11-10 08:07:35 -0800</bug_when>
    <thetext>In FontCache::getCachedFontPlatformData() we ignore the family argument which contains the resolved real font family from the web settings, and instead we pass on the generic font family to Qt. 

See also http://www.w3.org/TR/CSS2/fonts.html#generic-font-families

Quick fix here: http://gist.github.com/230871

Will try patch against 4.5 first to not mess up the buildbot too much.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165828</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-23 05:31:36 -0800</bug_when>
    <thetext>I believe this may be the same as bug #22896</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166418</commentid>
    <comment_count>3</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2009-11-25 06:52:04 -0800</bug_when>
    <thetext>*** Bug 22896 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173947</commentid>
    <comment_count>4</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-12-21 04:24:17 -0800</bug_when>
    <thetext>This was fixed in r51758</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180724</commentid>
    <comment_count>5</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2010-01-14 08:06:00 -0800</bug_when>
    <thetext>*** Bug 29458 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>