[
https://issues.apache.org/jira/browse/PDFBOX-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-6323:
------------------------------------
Description:
Two bugs discovered by copilot, uses "&" instead of "|" to join two bytes into
an unsigned int16, and misses "& 0ff" to prevent negative numbers
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6gcid.html
was:
Two bugs, uses "&" instead of "|" to join two bytes into an unsigned int16, and
misses "& 0ff" to prevent negative numbers
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6gcid.html
> Incorrect cidSupplementVersion calculation
> ------------------------------------------
>
> Key: PDFBOX-6323
> URL: https://issues.apache.org/jira/browse/PDFBOX-6323
> Project: PDFBox
> Issue Type: Sub-task
> Affects Versions: 2.0.37, 3.0.8 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> Two bugs discovered by copilot, uses "&" instead of "|" to join two bytes
> into an unsigned int16, and misses "& 0ff" to prevent negative numbers
> https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6gcid.html
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]