Reapplying parts of PDFBOX-542
------------------------------

                 Key: PDFBOX-619
                 URL: https://issues.apache.org/jira/browse/PDFBOX-619
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 1.0.1
            Reporter: Villu Ruusmann
         Attachments: FontBox.patch

The application of PDFBOX-542 was accompanied with several optimizations. Later 
testing has revealed that one of the optimizations - the replacement of 
List-type field org.apache.fontbox.cff.encoding.CFFEncoding#entries with two 
Map-type fields #code2sid and #sid2code - may come short in situations where 
the mapping between codes and SIDs is not one-to-one (AFAIK, it is not covered 
by the CFF specification, but there are real-life examples for that).

I've compiled a patch file that restores the code in the original state.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to