[
https://issues.apache.org/jira/browse/PDFBOX-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147572#comment-18147572
]
ASF subversion and git services commented on PDFBOX-6323:
---------------------------------------------------------
Commit 1940478 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1940478 ]
PDFBOX-6323: fix supplement calculation, as suggested by copilot
> 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]