New module for displaying Truetype text

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: New module for displaying Truetype text

Post by dam »

Gregor, it seems that your php release doesn't support gif image creation.

Cyberman, I think it's a javascript error. Do you have an error in the code ?

Concerning the missing translation for imageperword, I'm sorry, I'll modify it soon.
cyberman

Re: New module for displaying Truetype text

Post by cyberman »

dam wrote: Cyberman, I think it's a javascript error. Do you have an error in the code ?
Upps, my mistake - it comes from my test area with modified admin panel  :-\ ... works with 0.13b2  :).
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: New module for displaying Truetype text

Post by Gregor »

Ok, Thanks for your fast reply. This saves a lot of stress figuring out what is going on  ;)
Since I don't own the server I've asked the server owner if this change can be made.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: New module for displaying Truetype text

Post by Gregor »

did a check with www.uisge-beatha.eu/erwin.php
this shows the phpinfo()
php.ini is not in /etc
GD is enabeld

I have no aswer from the server admin.

what could be the next step ???
cyberman

Re: New module for displaying Truetype text

Post by cyberman »

Gregor wrote: GD is enabeld
I think your server should get an update of GD lib. I see version  bundled (2.0.12 compatible). On my local Xampp server I see this - bundled (2.0.28 compatible). If i'm right older versions of gd lib don't support gif (copyright problems).

But make a look at options - the output as jpg or png is possible too.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: New module for displaying Truetype text

Post by Gregor »

OK, version problems. Sounds like Windows...  ;)

I don't see any other options. Just voor Tab's and that's it. On my laptop I probably run the latest version, and there I see two fonts and I can also select jpg, png and gif. These things I don't see on the website server. I guess that the error that occur's makes the whole module to stop. BTW, I'm on Truetype version 1.1
cyberman

Re: New module for displaying Truetype text

Post by cyberman »

@dam

Perhaps should truetype text module check the gd lib version and switch to jpg or png output if gif is not available ...
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: New module for displaying Truetype text

Post by dam »

cyberman wrote: @dam

Perhaps should truetype text module check the gd lib version and switch to jpg or png output if gif is not available ...
Yes, it's an idea. But functions like imagegif are supposed to be available since php3. Where is the limit ? Do I have to check all the functions the module uses ?

Nevertheless, I think I should add this control for default parameters, like font preview in admin section.
cyberman

Re: New module for displaying Truetype text

Post by cyberman »

dam wrote: Where is the limit ? Do I have to check all the functions the module uses ?
I think you must only know which gd lib versions supports gif and which not. If I'm right version 1.6 to 2.27 can't write gif. So you have only to check the gd lib version  ;).
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: New module for displaying Truetype text

Post by psy »

Hi

Nice module and I'm using it instead of ImageText. In addition to a couple of queries I posted in General help, here is some feedback that you may find useful for your next release:

1.  It degrades nicely in Mozilla if images are turned off, ie an tag shows as a normally styled html but unsurprisingly, IE has a problem.  It shows an image placeholder with the alternate text.  It would look better if it behaved like Mozilla and this feature was available in ImageText.  (or maybe it's there and I didn't see it in the help text?)

2.  It would also be good if it were possible to optionally specify height and width.  I had a heading gif that I used image software to stretch so that the characters appeared wider than the real truetype font.  I couldn't figure out how to achieve the same effect with TruetypeText.

Keep up the good work.  The admin section works a treat.

Cheers
psy
Post Reply

Return to “Modules/Add-Ons”