Andreas Lehmkühler created PDFBOX-4810:
------------------------------------------

             Summary: Improve CodespaceRange to be in line with the spec
                 Key: PDFBOX-4810
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4810
             Project: PDFBox
          Issue Type: Improvement
          Components: FontBox
    Affects Versions: 2.0.19, 3.0.0 PDFBox
            Reporter: Andreas Lehmkühler
            Assignee: Andreas Lehmkühler
             Fix For: 2.0.20, 3.0.0 PDFBox


While working on PDFBOX-4749 I've realized that the implementation of a 
CodespaceRange from a CMap isn't correct.

For one byte ranges startBytes and endBytes define a linear range of values. 
Double byte values define a rectangular range +not+ a linear range. 
Examples:
* <00> <20> defines a linear range from 0x00 up to 0x20
* <8140> to <9FFC> defines a rectangular range. The high byte has to be within 
0x81 and 0x9F and the low byte has to be within 0x40 and 0xFC




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to