[reportlab-users] Using Mac and TrueType fonts with renderPM

Robin Becker robin at reportlab.com
Mon Jan 8 05:25:46 EST 2007


Andy Robinson wrote:

>> Originally <type 'exceptions.TypeError'>: makeT1Font() argument 2 must be string, not None

>>

>> See this:

>>

>> http://bioinf.scri.ac.uk/lp/downloads/programs/genomediagram/renderPM_help.txt

>>

>> If i download pfbfer.zip and unpack it it in an appropriate place,

>> then renderPM.py generates five images and then stops because i

>> don't have the rlextra package.

>

> Thanks, we'll look into all this.

>

> This is a bug in our tests - rlextra is the commercial package, which,

> of course, we build and test all the time alongside reportlab, and our

> daily process doesn't include a test that reportlab's suite runs OK

> without it.

>

......

so far as I can find there are no mentions of rlextra in the standard reportlab
tests; There is a dynamic import of rlextra in shapes.py related to eps which I
will fix so it uses renderPS rather than renderPS_SEP.
--
Robin Becker


More information about the reportlab-users mailing list