xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37879] New: - PDF SVG rendering forces stroking text (config setting broken)
Date Mon, 12 Dec 2005 18:46:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37879

           Summary: PDF SVG rendering forces stroking text (config setting
                    broken)
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P4
         Component: svg
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: ono@java.pl


Config setting:

    <renderer mime="image/svg+xml">
      <strokeText value="false"/>
    </renderer>

... is virtual, since there is no code that uses that.

But most regression to FOP 0.20 is that when generating PDF, embeded SVG text is
forced to be stoked, and it seems there is no way to avoid it.
This bug makes files using SVG images with some text grow a lot.

Normally file which should be 300KB is 1MB and 70% of the file are strokes of
text from SVG files.

There is also bug related to that in
src/java/org/apache/fop/svg/PDFBridgeContext.java which may be related. In
registerSVGBridges() you check for fontInfo and linkTransform, that are not yet
uninitialized while super(...) is executing in constructor... however since this
function is called from super (BridgeContext) and it is STATIC.. this CODE will
never be called.

There is also no code for binding PDFTextPaineter like in 0.20.5. But I tried to
bind it to the context in PDFSVGHandler but ended up with PDF with no text on
SVG files.. however I must confess this PDF was 70% smaller :)

Please FIX it.. this is serious regression comparing to FOP 0.20.5. Thanks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message