printed v0.0.3: a low-level API to generate self-contained PDF/SVG

Guillaume Piolat spam at smam.org
Mon Oct 1 09:34:34 UTC 2018


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


More information about the Digitalmars-d-announce mailing list