Please email the list directly or CC it so others can benefit from the
discussion. For reason unclear to me, my posts to the list are held
up in some nebulous zone for many hours....
> I created image with GD library. I had 2 small issues: I
> add GDFONTPATH and while running from web server TTFQuery
> wanted to create a font
> "./usr/lib/python2.3/site-packages/ttfquery/font.cache" and
> it did not had permission. I simply created this file with
> write permission.
It looks like you are running in an environment where HOME is not set.
The TTFQuery file _scriptregistry.py first checks for the HOME
environment variable and tries to put the font cache there. If it
fails, it falls back on a python dir (which works well for linux and
win32 respectively). Also, make sure you are using version 0.2.6 of
So either 1) set HOME to point to where you want to font cache to go,
or 2) Edit _scriptregistry.py and manually set the registryFile
variable at the top of that script.
> Unfortunately I cannot put my stuff on public internet
> because I am working on my development machine which is
> inside my companies firewall and I have to create some good
> graphics forms for user to use it. I am planning to do both
> things withing a month or so. But I will be glad to
> transfer whatever knowledge and programs I have to start
> you on publishing graph on web.
I understand. If you have a publicly viewable screenshot that you can
share for the screenshot page, let me know. Otherwise, just pass on
what you learn about the mechanics of getting it up and running.