hi Lester,

On Fri, Sep 7, 2012 at 8:51 AM, Lester Caine <les...@lsces.co.uk> wrote:
> Rasmus Schultz wrote:
>>
>> Thank you - this confirms I'm not crazy, or at least it's evidence to
>> support that theory;-)
>>
>> It may be OS specific - perhaps the Windows and OSX binaries are built
>> against a different build (or configuration) of FreeType?
>
>
> Rasmus
> Something that is also worth bearing in mind is that even in native
> applications, fonts behave a little strange at times. Certainly in windows
> we used to have fun between different versions of windows rendering text in
> slightly different sizes, and today I have to ask some customers to change
> fonts where they have picked up some nice new fancy one, but on Linux it
> wraps at different places to Windows or Mac. I certainly remember having to
> 'adjust' box sizes on native applications so that the W98 app displayed the
> same on W2k.

As this is true, it is unrelated to GD. GD uses Freetype on all
supported platforms.

> While it would be nice to accurately render a pdf document to a printer,
> there is no accurate base to a browser window so we live with things being a
> little random when rendered, and often a browser will 'scale' fonts
> differently when you zoom them. So personally I just live with the fact that
> infrastructure is not as good as perhaps we would like?

Unrelated, PDF texts are vectors, GD renders on bitmap directly.

> I doubt that this is purely a PHP bug though?

Please see my other reply for the actual possible causes.

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to