[ 
https://issues.apache.org/jira/browse/FOP-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930252#comment-13930252
 ] 

Vincent Hennebert commented on FOP-2354:
----------------------------------------

I have an ArrayIndexOutOfBoundsException when I use an accented character:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: 225
        at org.apache.fop.pdf.PDFFactory.makeFont(PDFFactory.java:1394)
        at org.apache.fop.pdf.PDFResources.addFonts(PDFResources.java:121)
        at 
org.apache.fop.render.pdf.PDFDocumentHandler.endDocument(PDFDocumentHandler.java:181)
        at 
org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.endDocument(IFDocumentHandlerProxy.java:187)
        at 
org.apache.fop.render.intermediate.IFRenderer.stopRenderer(IFRenderer.java:294)
        at 
org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.java:265)
        at 
org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:342)
        at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:169)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:962)
        at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)
        at org.apache.xerces.xinclude.XIncludeHandler.endDocument(Unknown 
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:177)
        at org.apache.fop.cli.Main.main(Main.java:208)
{noformat}

> [PATCH] Subset support for Type 1 fonts
> ---------------------------------------
>
>                 Key: FOP-2354
>                 URL: https://issues.apache.org/jira/browse/FOP-2354
>             Project: Fop
>          Issue Type: New Feature
>          Components: fonts
>    Affects Versions: trunk
>            Reporter: Robert Meyer
>            Assignee: Robert Meyer
>             Fix For: trunk
>
>         Attachments: c0419bt_.pfb, fop.xconf, patch.diff, test.fo
>
>
> This patch adds subsetting support to Type 1 fonts. Currently the only two 
> supported output formats for this are PDF and Postscript.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to