[xep-support] SVG + TextPath = problem!

Fritz Kirch Friedrich.Kirch at it2media.de
Sun Aug 5 23:15:14 PDT 2007


Dear Support,
 
can anybody tell me why my FO-file isnt rendered correctly?
 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rx="http://www.renderx.com/XSL/Extensions">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="seite_1" 
                        page-width="380.7mm" 
         page-height="289.7mm">
      <fo:region-body margin="0mm"/>
    </fo:simple-page-master>
 </fo:layout-master-set>
  <fo:page-sequence master-reference="seite_1">
    <fo:flow flow-name="xsl-region-body">
      <fo:block-container position="absolute" top="102mm" left="225mm"
width="147mm" height="100mm" background-color="red">
        <fo:block text-align="center" padding="5mm" padding-top="2mm"
color="white" font-size="20pt">
          HERE COMES A SVG-TEXT ALONG A PATH
    <fo:instream-foreign-object>
            <svg:svg version="1.1" 
            xmlns:svg="http://www.w3.org/2000/svg" 
      xmlns:xlink="http://www.w3.org/1999/xlink" height="70mm"
width="147mm">
              <svg:path id="text_path" x="0" y="0" d="M10 10 C100 150
200 200 200 100 C200 100 200 20 250 20" 
               fill="none" 
      stroke="silver" 
      xmlns:svg="http://www.w3.org/2000/svg"/>
              <svg:text style="font-family:Helvetica;font-size:10px"
xmlns:svg="http://www.w3.org/2000/svg">
                <svg:textPath xlink:href="#text_path" 
                  xmlns:svg="http://www.w3.org/2000/svg">an einem Pfad
ausgerichteter Text</svg:textPath>
              </svg:text>
            </svg:svg>
          </fo:instream-foreign-object>
    UNFORTUNATELY IT DOESN'T WORK
        </fo:block>
      </fo:block-container>    
    </fo:flow>
  </fo:page-sequence>
</fo:root>
 
Friedrich Kirch
Nuremberg, Germany
 

**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper at it2media.de
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20070806/cc7938bd/attachment.html>


More information about the Xep-support mailing list