Jukka Matilainen commented on FOP-2544:

This bug can be reproduced with FOP 2.1 by enabling debug level logging. When 
running with DEBUG log level enabled, all characters in SVG text are rendered 
with an outlining gray rectangle.

Can be reproduced for example by running from the command line like this:
 -Dorg.apache.commons.logging.simplelog.defaultlog=DEBUG" fop -fo helloworld.fo 
-pdf helloworld.pdf

The problem appears to in org/apache/fop/svg/NativeTextPainter.java:118


> Incorrect pdf rendering from FO with embedded svg via java embedding
> --------------------------------------------------------------------
>                 Key: FOP-2544
>                 URL: https://issues.apache.org/jira/browse/FOP-2544
>             Project: FOP
>          Issue Type: Bug
>          Components: foreign/svg, image/svg, renderer/svg
>    Affects Versions: 2.0
>            Reporter: Piotr StefaƄczyk
>         Attachments: 35ca62e7-238c-44c2-bb54-c83e1fc548c8.pdf, fop.xconf, 
> helloworld.fo
> I have problem with rendering pdf with embedded svg. When I render pdf from 
> command line everything is OK, but if I render fo programmatically then text 
> within svg is incorrect rendered. Every char have grey rectangle.
> I was trying render in version 1.1 programmatically and fo is correct 
> rendered to pdf.

This message was sent by Atlassian JIRA

Reply via email to