ImageTTFText questions

Started by andrea, September 30, 2003, 01:07:58 AM

Previous topic - Next topic

andrea

Any ideas what could cause thie following problem:

Some php program uses the ImageTTFText command. On my Win2K WAMP 2.2 it runs fine. Uploading on the webserver (linux) the program still runs fine. *But* much less true type fonts seem to work there. Some run fine as on the windows pc, others make errors "font file not found", others cannot print special characters which on the wamp worked.

Does anyone have experiences with such issues? I did already try to change the national environment with "setlocale" which did not help. Is there another php command for changing language environment or code set? Or needs some additional modules to be installed on the www server? Or do I just have to live with the fact that on linux less true type fonts are recognized properly?

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



[Unknown]

I always upload the fonts and open them from the current directory... it's safer that way, imho.

Font sizes are also different.

-[Unknown]

Aquilo

I don't know if this will help any because I have not used it but it might be the right track for special characters sets.

there are a few articles about this running around php.net if you don't find any I look when I get home.

http://us3.php.net/manual/pt_BR/function.imagepsencodefont.php

andrea

Thx for the replies guys.

Quote from: [Unknown] on September 30, 2003, 01:18:58 AM
I always upload the fonts and open them from the current directory... it's safer that way, imho.

This was indeed the first thing which I did already try - to put the font into the same directory - forgot to write that. It did not help, same problems there. I also did already double check the .ttf filename to be in 8.3 format and contain only abc... characters, did not help either.

Quote from: Aquilo on September 30, 2003, 01:44:06 AM
I don't know if this will help any because I have not used it but it might be the right track for special characters sets.

there are a few articles about this running around php.net if you don't find any I look when I get home.

http://us3.php.net/manual/pt_BR/function.imagepsencodefont.php

Thanks for the link, will check it when back home. Am in the office right now.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Advertisement: