Thanks for the reply Jeremais,

This is completely a Designer 9 and 7 (found out a lot of our clip art was 
created with version 7) issue and how it translates a transform of a circle and 
is now OT.

Thanks for the pointer to Squiggle. It actually showed the circles in question 
as squares. I'll be writing an XSLT to parse all SVGs and create a report of 
any circles that contain a matrix.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries
(204) 934 8815
[email protected]


-----Original Message-----
From: Jeremias Maerki [mailto:[email protected]] 
Sent: Friday, April 09, 2010 8:22 AM
To: [email protected]
Subject: Re: OT? SVG circle/@transform display issue in PDF

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]


--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or 
material transmitted with this communication) is confidential, may be 
privileged and is intended only for the use of the intended recipient. If you 
are not the intended recipient, any review, retransmission, circulation, 
distribution, reproduction, conversion to hard copy, copying or other use of 
this communication, information or material is strictly prohibited and may be 
illegal. If you received this communication in error or if it is forwarded to 
you without the express authorization of New Flyer, please notify us 
immediately by telephone or by return email and permanently delete the 
communication, information and material from any computer, disk drive, diskette 
or other storage device or media. Thank you.


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

Reply via email to