[ 
https://issues.apache.org/jira/browse/PDFBOX-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18155729#comment-18155729
 ] 

Maruan Sahyoun commented on PDFBOX-6380:
----------------------------------------

[~tilman] 

the change yesterday broke the build on macOS because the {{version == 1}} 
check in {{KerningSubtable}} wasn't updated e.g.

{code}
mvn clean test | grep "Getting the AcroForm"
org.opentest4j.AssertionFailedError: Getting the AcroForm shall not throw an 
exception ==> Unexpected exception thrown: java.lang.IllegalStateException
org.opentest4j.AssertionFailedError: Getting the AcroForm shall not throw an 
exception ==> Unexpected exception thrown: java.lang.IllegalStateException
org.opentest4j.AssertionFailedError: Getting the AcroForm shall not throw an 
exception ==> Unexpected exception thrown: java.lang.IllegalStateException
org.opentest4j.AssertionFailedError: Getting the AcroForm shall not throw an 
exception ==> Unexpected exception thrown: java.lang.IllegalStateException
[ERROR] PDAcroFormGenerateAppearancesTest.testGetAcroForm:58 Getting the 
AcroForm shall not throw an exception ==> Unexpected exception thrown: 
java.lang.IllegalStateException
[ERROR] PDAcroFormGenerateAppearancesTest.testGetAcroForm:58 Getting the 
AcroForm shall not throw an exception ==> Unexpected exception thrown: 
java.lang.IllegalStateException
[ERROR] PDAcroFormGenerateAppearancesTest.testGetAcroForm:58 Getting the 
AcroForm shall not throw an exception ==> Unexpected exception thrown: 
java.lang.IllegalStateException
[ERROR] PDAcroFormTest.testIllegalFieldsDefinition:374 Getting the AcroForm 
shall not throw an exception ==> Unexpected exception thrown: 
java.lang.IllegalStateException{code}




> KerningTable.read can never take its version 1 branch
> -----------------------------------------------------
>
>                 Key: PDFBOX-6380
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6380
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: FontBox
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Trivial
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> The apple version 1 becomes 0x00010000 after the shift.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to