[
https://issues.apache.org/jira/browse/PDFBOX-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-4139.
----------------------------------------
Resolution: Fixed
I've replaced single value cidranges with a simple mapping and consecutive
cidranges are merged automatically. This reduces the number of CIDRange
instances which improves the memory footprint and speeds up the code/CID lookup.
> Optimize memory footprint of CID mappings within CMaps
> ------------------------------------------------------
>
> Key: PDFBOX-4139
> URL: https://issues.apache.org/jira/browse/PDFBOX-4139
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox
> Affects Versions: 2.0.8
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 2.0.9, 3.0.0 PDFBox
>
>
> Some of the predefined CMaps define CID-ranges which simply map single
> values. Other are consecutive ranges which could be merge into one range, e.g.
> - UniGB-UCS2-H contains a lot of ranges representing single value mappings
> - Identity-H contains 256 ranges which can be merge into a single range
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]