<?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>25402</bug_id>
          
          <creation_ts>2009-04-25 19:37:07 -0700</creation_ts>
          <short_desc>Gradient stroke on text not positioned properly</short_desc>
          <delta_ts>2009-04-26 23:05:13 -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>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>25403</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeff Schiller">jeffschiller</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118867</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2009-04-25 19:37:07 -0700</bug_when>
    <thetext>Attached test case shows a bug in WebKit SVG:  The stroke on a &lt;text&gt; element references a linearGradient.  As can be seen, the stroke is horizontally offset by (maybe) 1 glyph.  

Note that if you change the fill to a solid color (&quot;blue&quot;), there is no offset.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118868</commentid>
    <comment_count>1</comment_count>
      <attachid>29794</attachid>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2009-04-25 19:37:26 -0700</bug_when>
    <thetext>Created attachment 29794
Test Case showing the problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118950</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2009-04-26 23:05:13 -0700</bug_when>
    <thetext>The same problem like in bug 25403.

*** This bug has been marked as a duplicate of 25403 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>29794</attachid>
            <date>2009-04-25 19:37:26 -0700</date>
            <delta_ts>2009-04-25 19:37:26 -0700</delta_ts>
            <desc>Test Case showing the problem</desc>
            <filename>svg-text-bug-1.svg</filename>
            <type>image/svg+xml</type>
            <size>742</size>
            <attacher name="Jeff Schiller">jeffschiller</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxz
dmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDov
L3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iODUwIiBoZWlnaHQ9
IjIwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQg
Z3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgwLjk0MzkzNSwgMCwgMCwgMC45NDIyMzMsIDM5Ljk4
MTcsIDMuODY0NzkpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgaWQ9ImxpbmVhckdy
YWRpZW50NDU5MyIgeDE9IjUwOC4wNDk4IiB4Mj0iNTIwLjA2MjAxIiB5MT0iMzYuNzU3NTM0IiB5
Mj0iMTMwLjc1NzU0Ij4KICAgICAgPHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjMmM1YWEw
IiBzdG9wLW9wYWNpd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