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 2013/07/24 12:53:47 UTC

[jira] [Updated] (FOP-2252) OpenType CFF support for FOP

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

Robert Meyer updated FOP-2252:
------------------------------

    Attachment: SourceSansProBold.otf
                AlexBrushRegular.otf
                fontbox-1.8.0-SNAPSHOT.jar
                patch-240713.diff

I have attached the final patch for adding OTF CFF support. To build, you need the modified version of fontbox (attached) which should go in the lib directory with the distribution. The fontbox changes have been put forward as a series of patches and are reliant upon the PDF-Box community to push them through. Due to the time frame being unknown when that will happen and included with a disibutrion, I've posted the already modified version here with the patch.

There are two fonts which are used in unit tests. These are free open source fonts which apparently are compatible with Apache licensing. For PostScript support, I will shortly be adding a new patch to XMLGraphics for a new subroutine which is required to re-encode each font. This patch will be made dependant on that.

The patch is a large one (10k+ lines), but a proportion of that is related to renaming several files to fit with the new OpenFont naming structure with CFF and TTF subclasses. 
                
> OpenType CFF support for FOP
> ----------------------------
>
>                 Key: FOP-2252
>                 URL: https://issues.apache.org/jira/browse/FOP-2252
>             Project: Fop
>          Issue Type: New Feature
>          Components: fonts
>    Affects Versions: trunk
>            Reporter: Robert Meyer
>            Assignee: Robert Meyer
>         Attachments: 24052013-otfcff.patch, AlexBrushRegular.otf, fontbox-1.8.0-SNAPSHOT.jar, output.pdf, patch-240713.diff, SourceSansProBold.otf
>
>


--
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