pombreda / rst2pdf

Automatically exported from code.google.com/p/rst2pdf
Other
0 stars 0 forks source link

Wrong font used because of wrong fontList #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using rst2pdf to produce pdf files, and I find that all table headers text 
are using monospace fonts.

Digging into the source code, I found that in styles.py line 362, fontList is 
not using the font I specified in the style file.

And when I add this line before line 362(if fontList:), it works well:
    fontList = findfonts.autoEmbed(fname)

I know it's a workaround, but I don't understand well about how fontList is 
generated, I hope you can fix it.

Sorry for my English.

Please answer the following questions, they are *very* important:

* Version of rst2pdf?
0.16
* Version of reportlab?
2.5
* Are you using wordaxe, and if true, what version?

* Are you using rst2pdf with Sphinx, and if true, what version?
1.0.7
Please provide any additional information below.

Original issue reported on code.google.com by ive...@gmail.com on 9 Dec 2011 at 5:52

GoogleCodeExporter commented 9 years ago
Sorry I took so long to reply, could you provide a small test file causing this 
problem?

Original comment by roberto.alsina on 4 Mar 2012 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by roberto.alsina on 26 May 2012 at 2:13

GoogleCodeExporter commented 9 years ago
No reply for nince months. Closing.

Original comment by roberto.alsina on 14 Dec 2012 at 9:07