DescriptionFix loading page using hint tables.
When linearized document have hint table,
The FPDFAvail_IsPageAvail return true, but
FPDF_LoadPage return nullptr, for non first pages.
This happens, bacause document not use hint tables, to load page.
To fix this, I force save the page's ObjNum in document.
R=npm, dsinclair
Committed: https://pdfium.googlesource.com/pdfium/+/ef38283688c1ee7c08bcf4204cfb78e09c039782
Patch Set 1 #Patch Set 2 : Fix loading page using hint tables. #Patch Set 3 : rebase and add test. #Patch Set 4 : fix test. #
Total comments: 2
Patch Set 5 : fix compilation on linux. #
Total comments: 5
Messages
Total messages: 23 (9 generated)
|