Enhanced Doc for standard Fonts #579

Merged
merged 2 commits into from Dec 10, 2016

Projects

None yet

2 participants

@M3ssman
Contributor
M3ssman commented Nov 15, 2016

Hello,
I'd like to provide some enhancement on the Documentation. This is about the pdfkit standard Fonts and where to find the Labels, an issue I found myself struggling with some days ago. It's quite a helpful addition for every newbie (like me).

docs/text.coffee.md
+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.
@devongovett
devongovett Dec 10, 2016 Owner

Let's just list them all here.

@M3ssman
M3ssman Dec 10, 2016 Contributor

That's quite a good move.
I will update the documentation this way.

@devongovett devongovett merged commit f5b4f67 into devongovett:master Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment