Horst Rutter

Results 617 comments of Horst Rutter

what is the output of: `pdfcpu val -v tmp_centered.pdf`

Calculating the final image dimensions in user space is a deep dive into the rendering step of page content, remember an image can be part of a form which may...

Nope but there is the PDF spec, bookmarks are recursive: Checkout: `samples/bookmarks/bookmarks.json` `api/test/bookmarks_test.go`

So it is working when you use the CLI but not when you use the API, correct?

Check out: api/test/stamp_test.go and its results at samples/stamp/* and samples/watermark/* Remember that watermarks are rendered prior to any other page content whereas stamps are rendered last.

api.AddWatermarks should load a new default configuration which in turn should load your user fonts. I will need a stacktrace in order to provide a fix.