[reportlab-users] Intermittent failure to find font error

Robin Becker robin at reportlab.com
Tue Aug 10 12:51:56 EDT 2010

On 10/08/2010 16:07, Alex Buck wrote:

> Thanks for your response Robin. I am no WSGI Expert either but I can

> tell you that we are running our servers with wsgi in daemon mode and

> not using an embedded configuration. Also the benchmark analysis was

> very useful and its interesting to see that using the C code you get a

> 100% speed up when determining stringWidth. Can I assume that this

> piece of code is use heavily within the layout engine?


> Alex Buck


> On Tue, Aug 10, 2010 at 10:40 AM, Robin Becker<robin at reportlab.com> wrote:

>> .......

>> I'm not a great expert at WSGI, but can I assume that you are using the

>> 'embedded' version of the mod_wsgi apache module?

>> --

>> Robin Becker



I looked at Graham Dumpleton's new video and it seems that even though Daemon
mode has separate processes the python is common to all in some way. He also
mumbled something about a mod_wsgid which might be more like fastcgi ie more
separation between apache and individual processes.

I've made some progress in eliminating the cached variables related to
pdfmetrics, but I'm fairly sure there's some residual problems since I am
creating an error class and a version number when the extension is first loaded.
Those obviously are created in the first sub interpreter and may cause problems
if used by others.
Robin Becker

More information about the reportlab-users mailing list