RE: [PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD)
| From: | Gryffyn, Trevor | Date: | Mon, 03 May 2004 13:37:27 +0000 |
| Subject: | RE: [PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23611@lists.php.net to get a copy of this message | ||
I'm not sure on the pixels/points thing on the two systems, you could always check a server
variable and see what system you're on and do the compensation internally so it comes out
properly on both systems without having to have two different scripts.
But I'm curious.. I know that if you create a word processing document and you use a font that
isn't available on another system, if you open up that document on the other system it'll
try to find the closest/most similar font and use that. Sometimes that's just the next one in
the font list alphabetically, sometimes it means going to some default font that's used when
the requested font isn't available.
So it could just be a matter of installing the proper font on the Windows system and it'll work
ok. That's something to look into.
-TG
> -----Original Message-----
> From: De Greef Sébastien [mailto:sdegreef@orbem.be]
> Sent: Monday, May 03, 2004 5:12 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD)
>
>
> Hi,
> i just made a little site with a nice counter, i use gd to
> draw the number
> in a chosen TTF no problem for that, but when i run the same
> source on IIS
> the string is much bigger and doesn't fit in the image
> anymore. i can adapt
> it again but it will be much smaller in apache then. Somebody knows
> something about this strange thing. i didn't searched much
> but i think under
> iis gd take size as points and under apache as pixels..
> Regards
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>