Module printpdf::font

source ·
Expand description

Embedding fonts in 2D for Pdf

Structs§

  • Direct reference (wrapper for lopdf::Object::Reference) for increased type safety
  • Font list for tracking fonts within a single PDF document
  • The unscaled base metrics for a font provided by a FontData implementation.
  • The metrics for a glyph provided by a FontData implementation.
  • Indexed reference to a font that was added to the document This is a “reference by postscript name”

Enums§

  • Standard built-in PDF fonts
  • The font
  • The text rendering mode determines how a text is drawn The default rendering mode is Fill. The color of the fill / stroke is determine by the current pages outline / fill color.

Traits§