[reportlab-users] True Type fonts - newbie question
Glenn Linderman
v+python at g.nevcal.com
Mon May 16 16:26:12 EDT 2011
On 5/16/2011 2:33 AM, Robin Becker wrote:
> The getAvailableFonts is actually wrong and is being stupid. It turns
> out that it defers to PdfDoc.getAvailableFonts which is also stupid
> and wrong. Both of these ought to be named something like getUsedFonts
> or getActualizedFonts or somesuch. Turns out that except for the
> standard 14 we don't internalize the fonts until they're actually used.
>
> Try the script below and you should actually see the font end up in
> the list. I think availableFonts should refer to those that have been
> registered even if not yet used.
OK, with this information, I whacked at the program and got it working.
Any clues when there'll be a Python 3 version of reportlab?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20110516/2eb37b2b/attachment.html>
More information about the reportlab-users
mailing list