Comments (1)
This is what we expect, where the 654 is the correct offset to the xref keyword:
xref
0 10
0000000000 65535 f
0000000015 00000 n
0000000064 00000 n
0000000133 00000 n
0000000190 00000 n
0000000310 00000 n
0000000343 00000 n
0000000439 00000 n
0000000553 00000 n
0000000584 00000 n
trailer
<<
/Size 10
/Root 1 0 R
/Info 2 0 R
/ID [<5E0D0FA324BC80325653972E5674AF92> <5E0D0FA324BC80325653972E5674AF92>]
>>
startxref
654
%%EOF
And this is what we get:
0 10
0000000000 65535 f
0000000015 00000 n
0000000064 00000 n
0000000133 00000 n
0000000190 00000 n
0000000310 00000 n
0000000343 00000 n
0000000439 00000 n
0000000553 00000 n
0000000584 00000 n
trailer
<<
/Size 10
/Root 1 0 R
/Info 2 0 R
/ID [<5E0D0FA324BC80325653972E5674AF92> <5E0D0FA324BC80325653972E5674AF92>]
>>
startxref
154
%%EOF
where the offset is wrong the keyword is missing
from sambox.
Related Issues (20)
- ClassCastException when encountering malformed AcroForm
- Exception when text field is too narrow to fit a single letter
- NPE in CmapSubtable lookup for PDType0Font
- ClassCasException when Q is not a COSNumber
- Checkboxes having only "Off" entry in normal appearances dictionary
- BaseCOSParser skips dictionary keys that are empty string
- Radios having extra items in the Normal Appearances dictionary
- Parsing failures in SecurityHandler are not bubbled up
- Stackoverflow in PDFieldFactory.findFieldType() when /Parent points to self
- PDDeviceN colorspace image missing from output PDF
- Fonts are not really registered for closing
- NPE in PDFStreamEngine.showText() due to textMatrix being null
- StackOverflowError parsing number
- Avoid ClassCastException
- ClassCastException when annotation appearance is an array instead of dictionary
- NPE parsing colorSpace
- Infinite loop parsing PDF
- Skip mask images with 0 dimension (when scaled)
- StackOverflowError in PDPageTree.getInheritableAttribute
- Parse documents with negative byte offset for inUse xref entry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sambox.