From: John H. <jdh...@ac...> - 2003-10-25 02:03:26
|
>>>>> "Samir" == Samir Patel <sp...@la...> writes: 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.... Samir> I created image with GD library. I had 2 small issues: I Samir> add GDFONTPATH and while running from web server TTFQuery Samir> wanted to create a font Samir> "./usr/lib/python2.3/site-packages/ttfquery/font.cache" and Samir> it did not had permission. I simply created this file with Samir> 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 TTFQuery. 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. Samir> Unfortunately I cannot put my stuff on public internet Samir> because I am working on my development machine which is Samir> inside my companies firewall and I have to create some good Samir> graphics forms for user to use it. I am planning to do both Samir> things withing a month or so. But I will be glad to Samir> transfer whatever knowledge and programs I have to start Samir> 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. Thanks, John Hunter |