printed 0.0.7

Low-level API to generate self-contained PDF/SVG/HTML documents suitable for print


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

printed

Low-level API to generate self-contained PDF/SVG/HTML documents suitable for print.

printed provides an immediate graphical context API for drawing vectorial content inside a multi-page PDF, HTML or SVG. It is intended to provide a barebones API, and need text-aware APIs on top of it.

Its API is similar to the HTML5 Canvas 2D API.

The ultimate goal would be to generate technical documentation or user manuals with it, but for that you would need a text layout library.

Features

  • [x] TrueType and OpenType font embedding in order to have fully reproducible vectors
  • [x] PDF 1.4 output
  • [x] SVG 1.1 output
  • [x] HTML5 output through SVG embedding

See features of the 2D renderer...

Goals

  • Simplicity
  • Reproducibility
  • Common denominator API, support many vectorial formats before being a rich API.
Sub packages:
printed:font, printed:canvas, printed:htmlcolors, printed:shaping
Dependencies:
printed:shaping, printed:canvas
Versions:
0.0.7 2018-Nov-21
0.0.6 2018-Nov-01
0.0.5 2018-Nov-01
0.0.4 2018-Oct-02
~master 2018-Dec-10
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 5 downloads total

Score:
1.1
Short URL:
printed.dub.pm