0.14.1 • Published 1 year ago

@postscriptum.app/postpdf v0.14.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago

postscriptum-postpdf

An utility to process the PDF output of Chromium by adding the bookmarks, croping the pages and setting some metadata.

It is based on PoDoFo, a C++ library to work with the PDF file format.

Postscriptum

Postscriptum is a solution to produce PDF from HTML with the help of CSS Print.

Please refer to https://postscriptum.app for a global picture of the project.

Issues

Please report any issues on the postscriptum-core project.

License

GNU Lesser General Public License

Build

This program must be easily embedded in the postscriptum packaging. The build therefore intends to produce a static binary.

The build is not supported on Windows or macOS but can be achieved with Docker or WSL.

Dependencies

  • build-essentials (gcc, binutils, etc...)
  • cmake
  • mingw-w64-i686 (to cross-build)

On an Ubuntu : apt-get install -y build-essential cmake g++-mingw-w64-i686 binutils-mingw-w64-i686

There is no need to install PoDoFo and his dependencies. The CMake build handles them.

Instructions

  • Linux and macOS : scripts/build.sh
  • Windows (mingw32 crossbuild) : scripts/build.sh win32 cmake/Toolchain-i686-w64-mingw32.cmake

The binaries are produced in the build directory.

With Docker

  • Linux : docker run --rm -v "$PWD":/work multiarch/crossbuild /work/scripts/build.sh
  • Windows : docker run --rm -v "$PWD":/work -e CROSS_TRIPLE=i686-w64-mingw32 multiarch/crossbuild /work/scripts/build.sh win32 /work/cmake/Toolchain-i686-w64-mingw32.cmake
  • macOS : docker run --rm -v "$PWD":/work -e CROSS_TRIPLE=x86_64-apple-darwin multiarch/crossbuild /work/scripts/build.sh darwin /work/cmake/Toolchain-x86_64-apple-darwin14.cmake

On Windows, replace $PWD by %CD%.

0.14.1

1 year ago

0.14.0

1 year ago

0.13.1

2 years ago

0.13.0

2 years ago

0.12.0

3 years ago

0.11.2

3 years ago

0.11.3

3 years ago

0.11.0

4 years ago

0.11.1

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago