diff --git a/docs/text.coffee.md b/docs/text.coffee.md index dbc6886..64dcad7 100644 --- a/docs/text.coffee.md +++ b/docs/text.coffee.md @@ -137,9 +137,13 @@ Here is the output: ## Fonts -The PDF format defines 14 standard fonts that can be used in PDF documents (4 -styles of Helvetica, Courier, and Times, as well as Symbol and Zapf Dingbats), -but also allows fonts to be embedded right in the document. PDFKit supports +The PDF format defines 14 standard fonts that can be used in PDF documents. Besides Symbol +and Zapf Dingbats this includes 4 styles (regular, bold, italic/oblique, bold+italic) of Helvetica, +Courier, and Times. PDFKit supports them out of the box. To switch between standard fonts, +just call the `font` method with `'Times-Roman'`, `'Times-Bold'`, `'Times-Italic'` or `'Times-BoldItalic'`, respectivly. +See the `pdfkit/lib/font/data/` folder for the exact Labels. + +The PDF format also allows fonts to be embedded right in the document. PDFKit supports embedding TrueType (`.ttf`), OpenType (`.otf`), WOFF, WOFF2, TrueType Collection (`.ttc`), and Datafork TrueType (`.dfont`) fonts.