John Whitington

Results 85 comments of John Whitington

What is the policy on the removal of pages which are unlinked? There seem to be plenty in the source. I would be happy to produce a PR to remove...

Is there a reason you can't just redirect stderr to null? I.e on Windows `>nul` or Unix `>/dev/null`

is-pdf just like file %PDF, -is-valid-pdf, could I load it.

You could prepare the file containing the image as a PDF file, then use -stamp-on or -stamp-under to put them together. Cpdf does not know how to insert images directly.

We need to solve the problem because two files might both have names in the name tree called, for example (Chapter1.begin). The problem here is that this interferes with the...

I am on holiday, so these are preliminary responses mostly from memory. We should fix this, though. In order: 1. No changes with upstream. 2. Self-containedness. 3. Yes, we can...

This possibility is already being tracked here: https://github.com/johnwhitington/camlpdf/pull/26

From some of the comments here about PDF-specific problems: https://github.com/johnwhitington/camlpdf/issues/19 It looks like we might end up having to customize (i.e fork) CamlZip anyway. In which case the namespace issues...

The following two commits (in order) should address these issues, for zlib and encryption, by prefixing the C stubs and OCaml function names, and by changing the name of the...

Thanks. > I'm unsure about the direction. I think OCaml developers would prefer if camlpdf relied on upstream camlzip (which is itself self-contained) and libzip, and the renaming goes against...