Results 23 comments of Paul Sladen

In that case dying on `-std=c++0x`, although are those (experimental features) being used?

Different PDF, a minimal working example PDF, but happens with all PDFs tested: ```console $ wget -nv http://www.paul.sladen.org/projects/pdfutils/minimal.pdf 2025-06-16 06:06:06 http://www.paul.sladen.org/projects/pdfutils/minimal.pdf [2439/2439] -> "minimal.pdf" $ pdfinfo minimal.pdf | awk '/pts/{print...

nb. to self, code snippet above is found in: * https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/ImageSize.hs#L296 @jgm: is it necessary to understand the ImageSize? For `.docx` the PDF always first gets rasterised to a bitmap...

Since there is probably already a dependency on `imagemagick` for scaling/conversion, one could theoretically use IM's `identify -ping` mechanism: ``` $ identify -ping -format '%w %h\n' x.jpg 2604 3812 ```...

(Imagemagick `identify -ping` bug reported at: https://github.com/ImageMagick/ImageMagick6/issues/373 - `identify -ping` always seems to be returning hardcoded dimensions of an US 8.5x11.5 piece of paper, regardless of the input PDF)

[empty.txt.pdf](https://github.com/user-attachments/files/21583635/empty.txt.pdf) An Empty ```PDF-1.7``` created with: ```console $ cat > empty.txt $ firefox empty.txt Ctrl-p [Save] ```

In the ```/XRef``` object, the array ```/W``` needs evaluating to make use of the decoded binary data: ```postscript > stream ``` This gives the field widths of the table (1...

If this is a different file, the ```/XRef``` stream may also have been pre-processed with one of the PNG ```/Predictor``` functions (eg. delta encoded against the previous line). Those are...

This should looks like a good crunch test, thanks to the German Railways: - https://www.dbinfrago.com/resource/blob/11199722/8b740ba7637785fc4631d85780e1127e/WASA-Tool-data.pdf ```postscript 176 0 obj /Filter /FlateDecode /ID[ ] /Index[10 1 32 1 46 1 48...

> It's the same file … The error I get is in decompressing the stream. Does the ```/W``` parameter tell us to modify the bytes in the stream somehow before...