Other possibilities I’ve eliminated:
I’ve, to the best of my understanding, replaced all paths in the snippets to be full paths: "var/www/vhosts/mysite/httpdocs/assets" , and checked to make sure that FreeType Support is enabled, which it is on my phpinfo page. Then I switched it back when that did not solve the issue.
I still think this has something to do with the base path, although I cannot figure out what. MaxiGallery, another snippet which I presume uses GD to make *it’s* jpegs, functions properly, yet both seem to use "config[’base_path’]"...
So it was my base path- I replaced all instances of:
"config[’base_path’]."
with
"/var/www/vhosts/mysite/httpdocs/
The gtext seems to sort of not be messing up now, although it has yet to actually quite work... but I have renewed confidence.
Actually- this is not a fix- it causes the snippet to not work at all- anything I put in the path is fine, as long as it isn’t
"config[’base_path’]."
Quote from: ooghe at Oct 24, 2006, 03:07 PM
...I know my ttf is in the assets/fonts directory...
Isn’t it supposed to be in assets/files/fonts?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Back to the foundation : (maybe I should psot this as a new topic ?)
I could see this snippet, based on class ATextImage could deal with Font size, color, and position..
but
is there any way to add Italic ou Bold or underline support ?
Thank you
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net
Hello there,
i am trying to use gtext so that it generates a series of images that will be used in a menu - so that i can use a non system (web) font for the menu.
I am using code from the snippet ListSiteMap to generate the list of pagetitles needed in the heirachy, and am calling gtext from in the loop, for some reason this doesn’t work - i get no errors, just a blank page.
any ideas why this could be? - is it because there are too many calls to gtext? (only 7 items in the menu).
any ideas?
If you are using 0.9.5, parse errors are in the system event log, see that from the manager for possible info..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."