https://github.com/cxw42/pfft
PDF From Formatted Text: very lightweight markdown-to-PDF converter
https://github.com/cxw42/pfft
cairo compiled glib hacktoberfest lightweight markdown pango pangocairo pdf pdf-generation text-processing text-rendering tiny vala
Last synced: 4 months ago
JSON representation
PDF From Formatted Text: very lightweight markdown-to-PDF converter
- Host: GitHub
- URL: https://github.com/cxw42/pfft
- Owner: cxw42
- License: bsd-3-clause
- Created: 2020-06-06T17:09:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T00:32:10.000Z (over 2 years ago)
- Last Synced: 2025-03-28T03:04:34.077Z (11 months ago)
- Topics: cairo, compiled, glib, hacktoberfest, lightweight, markdown, pango, pangocairo, pdf, pdf-generation, text-processing, text-rendering, tiny, vala
- Language: Vala
- Homepage:
- Size: 557 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF From Formatted Text: markdown to PDF with fewer dependencies
[](https://travis-ci.com/cxw42/pfft)
[](https://codecov.io/gh/cxw42/pfft)
I think TeX, LaTeX, and Pandoc are fantastic tools! However, I sometimes
need a markdown-to-PDF converter with fewer dependencies. Pfft is that tool.
Pfft:
- Doesn't need a Web browser --- it doesn't use HTML
- Doesn't need a build system --- it comes with an autoconf-generated build
script
- Doesn't need a separate rendering library --- it uses pangocairo, which
is standard on GNOME systems.
## Installing from a source tarball
(Package names may differ --- these are for Ubuntu)
$ sudo apt install -y libpango1.0-dev libgee-0.8-dev libgstreamer1.0-dev
$ tar xvf pfft-VERSION.tar.gz
$ cd pfft-VERSION
$ ./configure && make -j4 && sudo make install
For the HTML documentation, run `make html`, then open
`doc/valadoc/pfft/index.htm`.
## Contributing to Pfft's development
See [CONTRIBUTING.md](CONTRIBUTING.md).
The version history is in [CHANGELOG.md](CHANGELOG.md).
## Thanks
-
-
## Legal
Most of pfft is BSD-3-clause (see file [`LICENSE`](LICENSE)). The files in `src/logging`
are LGPL 2.1+ (see file [`LGPL-2.1`](LGPL-2.1)).