fcl-pdf CIDToGIDMap and CIDSet stream Length includes EOL
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
TCIDToGIDMap.Write and TPDFCIDSet.Write explicitly calls WriteString(CRLF, AStream); this EOL is then included in the stream -> /Length is greater by 2 bytes.
WriteString(CRLF, ...) should be called outside.
My patch #34023 (closed) calls it in the TPDFDocument.WriteObject.
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: 34061
- Build: Revision: 36503
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 39528 (#6e859765)
- Target version: 3.2.0