Crate pdf [−] [src]
A library for creating pdf files.
This crate is now known as pdf-canvas.
[dependencies]
pdf-canvas = "*"
The crate name pdf will soon be used by another crate, amied at reading, modifying and writing pdf data, as opposed to the crate now known as pdf-canvas, wich is only for creating pdf files.
Modules
graphicsstate |
Types for representing details in the graphics state. |
Structs
Canvas |
An visual area where content can be drawn (a page). |
Encoding |
Represent a text encoding used in PDF. An encoding maintains the connection between unicode code points, bytes in PDF strings, and glyph names. |
FontMetrics |
Relevant data that can be loaded from an AFM (Adobe Font Metrics) file. A FontMetrics object is specific to a given encoding. |
FontRef |
A font ready to be used in a TextObject. |
The top-level object for writing a PDF. |
|
TextObject |
A text object is where text is put on the canvas. |
Enums
BuiltinFont |
The "Base14" built-in fonts in PDF. Underscores in these names are hyphens in the real names. |
Traits
FontSource |
This trait is implemented by any kind of font that the pdf library supports. |