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

Robert Meyer updated FOP-2486:
------------------------------
    Description: 
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>.

  was:
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.


> [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, 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)

Reply via email to