javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -


any ideas when firefox implement lengthadjust andtextlength?..... working svg application. lengthadjust , textlength working fine in chrome not working in fire fox .

<svg viewbox = "0 0 500 300" version = "1.1">       <defs>           <path id="s3" d="m 10,90 q 100,15 200,70" />       </defs>       <g>           <text font-size = "20">               <textpath xlink:href="#s3" textlength="205">                  short text</textpath>           </text>           <use xlink:href="#s3" fill="none" stroke="black" stroke-width="1"/>       </g>   </svg>

this implemented in firefox text elements (not textpath or tspan) in case that's ok though can move attribute text element.

    <svg viewbox = "0 0 500 300" version = "1.1">           <defs>               <path id="s3" d="m 10,90 q 100,15 200,70" />           </defs>           <g>               <text font-size = "20"  textlength="205">                   <textpath xlink:href="#s3">                      short text</textpath>               </text>               <use xlink:href="#s3" fill="none" stroke="black" stroke-width="1"/>           </g>       </svg>

there bug textpath/tspan support open should wish contribute extend it.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -