Hacker News new | past | comments | ask | show | jobs | submit login

The source code is a nice read, and quite illuminating, if you've ever wanted to dig under the hood of a PDF:

https://github.com/devongovett/pdfkit/tree/master/lib

edit: In particular, some of this TTF font handling stuff is pretty fun:

https://github.com/devongovett/pdfkit/blob/master/lib/font.c...

You get bonus style points for embedding PostScript in a heredoc.




Thanks Jeremy! You just made my day. :)


I was just coming to comment on my delight in seeing the examples written in CoffeeScript.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: