Closed GoogleCodeExporter closed 9 years ago
There is a basic difference in how fonts work on LibreOffice and HTML and how
they work in PDFs:
In PDFs the font has to be embedded on the file itself, while both LibreOffice
and web browsers can just search your system for the best matching font and use
that.
As for the formatting, it could be your font doesn't have the required variants?
Rst2pdf will *not* try to create italic/bold variants from the regular font, it
requires you to provide all variants.
For example, here is a blog post where the stylesheet uses msyhbd.ttf to
provide the bold version of characters, while wqy-zenhei.ttf is used for the
regular one:
http://www.typemylife.com/sphinx-restructuredtext-pdf-generation-with-rst2pdf/
Hope this helps!
Original comment by roberto.alsina
on 17 Jul 2013 at 7:55
Original issue reported on code.google.com by
d...@tonimueller.org
on 17 Jul 2013 at 7:39