segfault
segfault
@Nukesor Independent of my comment above, I'm willing to try to get a pull request for this ready. A) Is the `console` dependency acceptable to you? (it has an iterator...
Okay, I completely missed that "Query" _was_ the class name. Either way I think this error message is pretty unhelpful. For example, I get the exact same thing with: ```...
From reading the code, page.unparse(true) However documentation does not make it clear that only one layer of indirect objects are dereferenced
Doesn't work with contents for some reason. ``` > page.Contents.unparse(True) b'12040 0 R' ```
your workaround doesn't actually work. pdf.get_object((12040,0)).unparse(True) has the same result read_bytes() produces the content stream, without the attached dictionary
It happens for me with all content streams with all PDFs, but here is one I am using. https://drive.google.com/file/d/1wwFce31ObmEEzaPy6JwDCYVRPvHzGr6j/view?usp=sharing
That output demonstrates the issue: content streams have an attached dictionary which is not returned by read_bytes. I also don't understand why stream objects have to be attached to a...
It still seems to me there should be a way to get the entire raw binary blob associated with an indirect object. Although this might not be possible in a...
I think this is a more general issue. There are a lot of places where readability improves with column alignment, Take this example: ```rust let expanded = ConfigKeys { program_id:...
I'm not sure the decision of when to columnate is something that can be chosen automatically. But perhaps a directive like `#[rustfmt(align)]` could exist to specify blocks that should be...