Re: differences between (IIS PHP GD) & (Apache PHP GD)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



well, in fact it is the same system both running windows and its the same
source directory, he finds the found ok no problem for that but sizing isn't
right. I made a loop that checks if the image is too big and resize it till
it's small enough but this doesn't really solves the problem i don't have
any size control anymore he makes the string as big as the picture...
Regards

"Trevor Gryffyn" <TGryffyn@xxxxxxxxxxxxxxxxx> a écrit dans le message news:
B97E3961173C4943BF7C722DFE31943D905432@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxx]
> Sent: Monday, May 03, 2004 5:12 AM
> To: php-windows@xxxxxxxxxxxxx
> Subject:  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
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux