<?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>32227</bug_id>
          
          <creation_ts>2009-12-07 09:55:42 -0800</creation_ts>
          <short_desc>With @font-face, SVG fonts only work as primary, non-segmented</short_desc>
          <delta_ts>2011-06-20 01:29:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>59085</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>paulirish</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>169345</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-12-07 09:55:42 -0800</bug_when>
    <thetext>When used in @font-face, SVG fonts don’t work as a fallback font or in conjunction with other sources for the same family, segmented by Unicode-range. The problem is that the Font methods, e.g. drawText(), check the primary font for SVG-ness and take an entirely different code path for that case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169346</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-12-07 09:56:04 -0800</bug_when>
    <thetext>&lt;rdar://problem/7449131&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220518</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-05-04 01:09:05 -0700</bug_when>
    <thetext>One particular nasty issue was discovered by Joseph Pecoraro: GlyphPage::fill() can get called with an SVG font, even though SVG fonts don’t use the glyph cache, if the primary font is non-SVG, but there are SVG segments (apparently one way this can happen is if the SVG font is still loading or failed to load).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220680</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-05-04 11:27:27 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; One particular nasty issue was discovered by Joseph Pecoraro: GlyphPage::fill()
&gt; can get called with an SVG font, even though SVG fonts don’t use the glyph
&gt; cache, if the primary font is non-SVG, but there are SVG segments (apparently
&gt; one way this can happen is if the SVG font is still loading or failed to load).

I opened a separate bug on my issue, because I don&apos;t think it would entirely fix this bug:
https://bugs.webkit.org/show_bug.cgi?id=38530</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248977</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-07-09 07:16:27 -0700</bug_when>
    <thetext>Changed component to SVG, so it shows up in my all-svg-bugs search.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>249103</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-07-09 10:43:49 -0700</bug_when>
    <thetext>See also bug 34236.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>423538</commentid>
    <comment_count>6</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-06-20 01:29:04 -0700</bug_when>
    <thetext>Fixed in r89233.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>