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 "Robert Meyer (JIRA)" <ji...@apache.org> on 2015/08/04 17:03:05 UTC

[jira] [Updated] (FOP-2486) [PATCH] Soft font support for TrueType fonts in PCL

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

Robert Meyer updated FOP-2486:
------------------------------
    Attachment: patch2.diff

I've added a new patch and will commit this shortly to the temp_pclsoftfonts branch. I will start a vote shortly on merging in this functionality.

> [PATCH] Soft font support for TrueType fonts in PCL
> ---------------------------------------------------
>
>                 Key: FOP-2486
>                 URL: https://issues.apache.org/jira/browse/FOP-2486
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/pcl
>    Affects Versions: trunk
>            Reporter: Robert Meyer
>             Fix For: trunk
>
>         Attachments: patch.diff, patch2.diff, rasterized.pcl, softfonts.pcl
>
>
> Currently all fonts (except a limited set of native fonts) are rastered for PCL output. This has the problem of the documents being large in size and should FOP be used in the cloud, rendering to PCL would not be possible as it's using AWT.
> This patch in part resolves this problem by converting TrueType fonts to PCL soft fonts. This allows the size to be much smaller and has been a standard feature since PCL 5.
> [EDIT] For all other fonts which are not TrueType it will still revert back to being rasterized. It will currently default to using soft fonts for TrueType fonts but this can overriden by using <text-rendering>bitmap</text-rendering>.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)