fcl-pdf invalid CIDToGIDMap length
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
Last item in the CIDToGIDMap should be MaxCID+1 not MaxCharID.
Because CID ~ GlyphID, then GetMaxGlyphID = MaxCID.
Patch included.
Additional information:
Some pdf viewers (acroread4/ms edge/wacom sign pro pdf) cannot display correctly compressed PDFs with font subsets. I'l post multiple patches to solve this issue.
Mantis conversion info:
- Mantis ID: 34060
- Build: Revision: 36503
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 39527 (#b4ea5252)
- Target version: 3.2.0