[reportlab-users] registerFont stays how long in memory? what s the best place to register a font?

Andy Robinson andy at reportlab.com
Mon Apr 19 17:25:11 EDT 2010

>>>Also, when you got the DarkGardenMK.afm error, were you actually

>>>trying to use that font?

> No I did not. For me it seems like the DarkGardenMK is getting loaded if

> everything else fails. Actually I did not noticed that DarkGardenMK.afm

> exists till rl wanted to load it. And obviously it seems that sometimes it

> is either successfully loaded or not loaded at all. For me it seems as I

> already said, that DarkGardenMK is somehow a fallback szenario for rl.

That's not it. If someone asks for a font which is not registered, we
fall back to searching font paths for AFM files. I can't look at the
code now but am fairly sure this is a misleading message; what matters
is that it couldn't find Calibri.

> The problem is that I do not control the server directly. A friend of mine

> controls it.. But I will try to switch to webfaction in the next days. Just

> to eliminate the possibility that it has something to do with the servers

> disk.

Webfaction are excellent. We used them in our early days with Django
and I still use them for a few personal sites not appropriate for the
ReportLab Cloud ;-) Although if it's a disk error, just copying the
whole project directory and pointing at the new one might resolve it.

> I would love web development if everything just would work like on my local

> machine ;-)

Me too.

More information about the reportlab-users mailing list