SVG is handled by Batik, not FOP. Maybe something's off with the SVG
created by Corel Designer. Can you post a full SVG example? You could
download Batik and use Batik Squiggle (the SVG browser [1]) to inspect
the SVG file. If it displays fine there but not when included in XSL-FO,
then it's a FOP problem. Otherwise, it may be a problem of Corel
Designer or Batik, though I doubt it would be the latter in this case.

[1] http://xmlgraphics.apache.org/batik/tools/browser.html

On 06.04.2010 21:33:25 Mario Madunic wrote:
> This is probably off topic as from what I have been able to sort out it may 
> be more of a SVG issue.
> 
> I'm inserting SVGs that have been exported from Corel Designer 12. A good 
> portion of the files were originally Designer 9 files and a circle tends to 
> be marked up as the following from Designer 9 (export function).
> 
> <circle id="_298767568" fill="#A1A1A1" stroke="black" 
> stroke-width="0.0146584" transform="matrix(6.36378 10.0591 -10.9463 5.75857 
> 5.19536 1.46463)" r="0.00351413"/>
> 
> All that is displaying after it is parsed by FOP is the stroke and no fill 
> and the stroke is the entire circle. I worked it down to the 
> @transform="matrix(....)" along with the @r. The radius is way too small for 
> what is seen in the Designer 9 file. So my questions are has anybody come 
> across this issue with using transform instead of something like the 
> following:
> 
> <circle fill="#DA251D" stroke="#00923F" stroke-width="0.0244052" 
> cx="0.563395" cy="2.1262" r="0.551193"/> (from Designer 12)
> 
> And finally how can I get the true radius of the circle from the numbers in 
> the @matrix?
> 
> Sorry if it is way too off topic.
> 
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries
> (204) 934 8815
> [email protected]




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to