Ptxt
Fast Text-to-PDF Converter
- fast - low memory consumption - stream converting, line by line - light weight The project is written primarily in C, distributed under the BSD 3-Clause "New" or "Revised" License license, first published in 2023. Key topics include: pdf, pdf-converter, pdf-generation, plain-text, plaintext.
PTXT
PTXT is a text-to-PDF converter aiming to:
- fast
- low memory consumption
- stream converting, line by line
- light weight
To reach these goals, PTXT uses an ad-hoc solution instead of depending on a full-feature PDF library or rendering engine.
Installation
$ make
$ sudo make install
Usage
-
ptxt fileConvert file to PDF.
The result is printed to the standard output.
If file is omitted, the standard input is used. -
ptxt --helpPrint the usage.
-
ptxt --versionPrint version information.
Output Style
Outputs are in the style of line printers:
- 66 lines per page
- 80 columns
- Courier font
- A4 page size
- proper margins
Credits
PTXT was created by DONG Yuxuan in 2023.
Contributors
Showing top 1 contributor by commit count.
