Babymetal singer crossing her wolverine-like clawed horn hands.
https://files.mastodon.social/media_attachments/files/108/406/882/265/114/269/original/851d0bb6ab0706d9.jpeg
Calibre was a bit of a mess, so I finally used pdfcrop and pdftk, another great tool.
Dump the metadata:
pdftk orig.pdf dump_data output orig.info
Then pdfcrop the original pdf:
pdfcrop --margin '0 0 0 0' orig.pdf crop.pdf
Then get the cropped metadata to maintain the box size:
pdftk crop.pdf dump_data output crop.info
Then manually edit the metadata (copy-paste the original bookmarks section).
Then finally apply that new metadata:
pdftk crop.pdf update_info crop.info output final.pdf
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.