All,

I am using fop (0.20.5rc) with an fo:external-graphic reference to an SVG file. The SVG file looks fine by itself, and the resulting PDF looks fine on the screen, but when I print it, the rectangles look like they are drawn with fat crayons.

Here is a short excerpt from the SVG:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="6in" height="1.95in" viewBox="2 1 37 12"><rect style="fill: #ffffff" x="2.143" y="2.15" width="6" height="6.4"/>
<rect style="fill: none; stroke-width: 0.1; stroke: #000000" x="2.143" y="2.15" width="6" height="6.4"/>
<polygon style="fill: #ffffff" points="2.143,2.15 2.643,1.65 8.643,1.65 8.143,2.15 "/>

......

and here is a short except from the FO:

.....

<fo:block><fo:external-graphic src="" width="auto" height="auto" content-width="6in" content-height="auto"/></fo:block>

......

Any ideas about why this is happening, or how it could be fixed?

Dave Bridgeland

 



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to