John Hewson created PDFBOX-2875:
-----------------------------------

             Summary: Type 1 fonts are embedded incorrectly
                 Key: PDFBOX-2875
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2875
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 2.0.0
            Reporter: John Hewson
            Assignee: John Hewson
             Fix For: 2.0.0


When embedding a Type 1 font, the Widths array is invalid, because the codes 
are ordered based on the order of the named glyphs in the font file, instead of 
in encoding order.

Additionally, there's an NPE because no GlyphList is set for a newly embedded 
PDType1Font.

There's also no way to choose the encoding, it's always taken from the AFM file.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to