You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Luis Bernardo (JIRA)" <ji...@apache.org> on 2013/01/18 11:28:12 UTC

[jira] [Updated] (FOP-2190) decrease PDF file size when CS are enabled

     [ https://issues.apache.org/jira/browse/FOP-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luis Bernardo updated FOP-2190:
-------------------------------

    Attachment: fop-2190.patch

the attached patch tries to address the issue by switching back and forth between drawTextWithDX and drawTextWidthDP depending on the elements in the dp[][] array. included is also a cleaning of the dp[][] to only include the elements that have a non default value
                
> decrease PDF file size when CS are enabled 
> -------------------------------------------
>
>                 Key: FOP-2190
>                 URL: https://issues.apache.org/jira/browse/FOP-2190
>             Project: Fop
>          Issue Type: Improvement
>          Components: pdf
>    Affects Versions: 1.1, trunk
>            Reporter: Luis Bernardo
>         Attachments: fop-2190.patch
>
>
> when CS are enabled, the current code may make use of the operators Td and Tj in situations where TJ would be appropriate leading to an increase in file size. note: this happens in the PDFPainter.drawText(). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira