[jira] [Closed] (FOP-1708) [PATCH] Automatic text overprint patch

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Closed] (FOP-1708) [PATCH] Automatic text overprint patch

JIRA jira@apache.org

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

Chris Bowditch closed FOP-1708.
    Resolution: Incomplete

Thanks for the patch. This new feature might be useful to a small set of users, but unlikely to be of interest to the majority. The patch cannot be applied as-is because its missing unit tests and the configuration is not driven from the fop.xconf file only the API. If the patch is updated then we'll reconsider

> [PATCH] Automatic text overprint patch
> --------------------------------------
>                 Key: FOP-1708
>                 URL: https://issues.apache.org/jira/browse/FOP-1708
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/pdf
>    Affects Versions: trunk
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Matthias Reischenbacher
>         Attachments: fop-overprint-patch.patch
> I've implemented a small patch which allows to automatically set the overprint state for text in pdf output. This is useful when text and background colors are printed on different printing plates because it ensures that no white spaces are visible if the printing plates are not positioned perfectly.
> See also: http://www.nabble.com/Overprint-Black-Text-td9852903.html
> Feel free to review or integrate it into fop trunk if it's for any use to you.
> Usage:
> foUserAgent.getRendererOptions().put(PDFConfigurationConstants.KEY_ENABLE_AUTO_OVERPRINT, Boolean.TRUE);

This message was sent by Atlassian JIRA