Fix disappearing headings on PDFs.

PR #113 caused font issues when rendering with phantomjs. This probably
causes problems for wkhtmltopdf, but I think at some point we’ll remove
support for that completely.