Bug 11012 - SVG text not rendering properly
Summary: SVG text not rendering properly
Status: RESOLVED DUPLICATE of bug 6559
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 16:23 PDT by String Larson
Modified: 2006-09-24 20:11 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description String Larson 2006-09-24 16:23:58 PDT
The following text is not rendered properly in this version of web kit.
Works ok in Firefox.
Should be two lines:
"THIS IS
SOME TEST"
WebKit is rendering at all one line:
"THISISSOMETEST" 
With no spaces or new line.

<?xml version="1.0" encoding="UTF-8"?>
<svg width="595.28pt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" height="841.89pt" >
 <g transform="translate(40, 40)" >  <text>
   <tspan x="1pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >T</tspan>
   <tspan x="14.8472pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >h</tspan>
   <tspan x="29.3345pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >i</tspan>
   <tspan x="37.4541pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >s</tspan>
   <tspan x="50.1782pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" > </tspan>
   <tspan x="58.1631pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >i</tspan>
   <tspan x="66.2827pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >s</tspan>
   <tspan x="79.0068pt" y="17.3408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" > </tspan>
   <tspan x="1pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >s</tspan>
   <tspan x="13.7241pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >o</tspan>
   <tspan x="26.2573pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >m</tspan>
   <tspan x="43.6196pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >e</tspan>
   <tspan x="57.0737pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" > </tspan>
   <tspan x="65.0586pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >t</tspan>
   <tspan x="78.9058pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >e</tspan>
   <tspan x="92.3599pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >s</tspan>
   <tspan x="105.084pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" >t</tspan>
   <tspan x="118.931pt" y="31.7408pt" fill="#000000" stroke="none" font-family="Princetown LET" font-size="23" > </tspan>
  </text>
 </g>
</svg>
Comment 1 Eric Seidel (no email) 2006-09-24 20:11:28 PDT
Thanks for the bug!  This is a known issue.  One which we hope to have resolved soon.

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