-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow customising the font of the PDF output
This commit allows the configuration file to declare custom fonts to be used, when exporting a PDF file. The functionality could probably be extended to HTML exports. Example that sets "Courier Prime" as default font: ```ini [export] format: pdf [[pdf]] strong: no font: courier_prime [font] [[courier_prime]] name: Courier Prime regular: ["Courier Prime", "courier-prime.ttf"] bold: ["Courier Prime Bold", "courier-prime-bold.ttf"] italic: ["Courier Prime Italic", "courier-prime-italic.ttf"] bold_italic: ["Courier Prime Bold Italic", "courier-prime-bold-italic.ttf"] ```
- Loading branch information
Showing
1 changed file
with
106 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters