cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to dispay SVG in PDF from XSL-FO

JingjunLong
4-Participant

How to dispay SVG in PDF from XSL-FO

Hello there, I see PE support SVG from the PTC website. In FOP, the following way can be used: <fo:instream-foreign-object> <svg:svg width="100pt" height="100pt" xmlns:svg="http://www.w3.org/2000/svg" > <svg:circle cx="50pt" cy="50pt" r="30pt" style="fill:blue;"/> <svg:text transform="rotate(270, 10, 160)" x="80" y="160" fill="red" fill-opacity="0.4" font-size="10" font-family="Times">SVG Image Gallery</svg:text> </svg:svg> </fo:instream-foreign-object> I got the information from ati_xsl.htm that Arbortext does not support fo:instream-foreign-object extended-level formatting object. Does anyone know how I can output svg to PDF using XSL-FO? Thanks in advance. Jingjun
1 REPLY 1

I found out fo:external-graphic can be used to output SVG in PDF. Arbortext PDF Composer support reference to SVG file in fo:external-graphic.
Top Tags