Expand description

Library for making pdf documents of spells that a 5th edition D&D character has.

See repository for documentation on spell files.

Repository at https://github.com/ChandlerJayCalkins/dnd_spellbook_maker.

Modules§

Structs§

  • File paths to all the font files needed for generate_spellbook().
  • Scalar values to convert rusttype font units to printpdf millimeters (Mm).
  • Data for what font sizes to use and how large tabs and various newline sizes should be.
  • Transform that is applied immediately before the image gets painted. Does not affect anything other than the image.
  • Scale in millimeter
  • Parameters for determining page number behavior.
  • Data for determining the size of the page and the margins between sides of the pages and text.
  • Marker struct for a document. Used to make the API a bit nicer. It simply calls PdfDocument functions.
  • Error for when a file name could not be retrieved when processing spell files in get_all_spells_in_folder().
  • Options for tables.
  • RGB colors for types of text in the spellbook.

Functions§