FOP: input XSL with SVG image gets low resolution in output PDF

D

dentaku

I use Apache FOP to create PDF files out of XSL + XML input files. The
XSL file can contain SVG-images via

---
<fo:block>
<fo:instream-foreign-object>
<svg:svg width="70mm" height="52.5mm"
xmlns:xlink="http://www.w3.org/2000/svg">
<svg:image width="70mm" height="52.5mm"
xlink:href="{$chart_C_Test_S}"/>
</svg:svg>
</fo:instream-foreign-object>
</fo:block>
---

The SVG images display excellent when viewed with Batik. But in the
result of the FOP PDF-Output, the images look like painted in very low
resolution - especially curves and some lines look very "edged" with
high aliasing.

Is this a bug in the current FOP (or a used library by FOP) or is
there a configuration setting to tell FOP to create high resolution
images?
 
A

AS

just an idea:
are you looking at the pdf doc in Adobe Reader at 100% zoom?
if its zoom was set to >100% then svg might look low-res.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,744
Latest member
CortneyMcK

Latest Threads

Top