On Monday, 1 October 2018 at 09:34:34 UTC, Guillaume Piolat wrote:
printed is a low-level API to generate self-contained PDF
1.4/SVG 1.1 documents hopefully suitable for print.
Currently it does not provide any "layout" option, you are just
provided a sort of 2D Canvas API which can then render to
either SVG or PDF.
No line-breaking, paragraphs, ligature, vertical glyphs, or any
type of layout are provided, they would have to be implemented
on top of it.
The most saliant feature is that you are able to embed a
TrueType/OpenType font inside the generated PDF, instead of
being restricted to the default fonts of PDF.
It includes an OpenType parser, font matching algorithms and a
FontRegistry which deals with "finding whatever font are
installed".
http://code.dlang.org/packages/printed
Hello,
Pdf is good however please take a look at djvu format
(http://djvu.org/) one of the authors is Yann LeCun.