Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62894 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38205 invoked from network); 7 Sep 2012 09:22:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2012 09:22:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:38591] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/83-09664-FECB9405 for ; Fri, 07 Sep 2012 05:22:55 -0400 Received: by ieak14 with SMTP id k14so60062iea.29 for ; Fri, 07 Sep 2012 02:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Jdt8VP7pYuLaVQU8KQph4h8c3oz9oBlc+sUcLbNTs9Y=; b=iFp/a10eNSJknuzL+8qaq8BS4jvMDzpOxtz42yz0pNIekD7nnptlv+MFtGyS4VXyHe n6N7gvuHdnh1OdXtgBipw0xZClaU/Qabi1Uro0wQ88ZDHydt/W1/b/xCX6TcGL1NPumM QzTl7KaamxPWvFMdggNWWDGdCYFnQdx5ZoZxC6d2sjZfoan96ZSFkoepIkY3G5CifnCK MU40NXwVBI9GrgrHPp1YpXLWazTkr0dOAAipohu6tZGow8NbKKnGPZz+pJRfLIzvOkXu TE1b/qV/tKAr5tYVvO/FuJkqvOj4Ux9XrssEB8Q7t69zfpcYiA6nmax4e0X1Hzx4gk2e w3fw== MIME-Version: 1.0 Received: by 10.50.36.169 with SMTP id r9mr7607254igj.19.1347009771855; Fri, 07 Sep 2012 02:22:51 -0700 (PDT) Received: by 10.64.60.40 with HTTP; Fri, 7 Sep 2012 02:22:51 -0700 (PDT) In-Reply-To: <5049998F.2070303@lsces.co.uk> References: <5049998F.2070303@lsces.co.uk> Date: Fri, 7 Sep 2012 11:22:51 +0200 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] is GD being actively maintained? From: pierre.php@gmail.com (Pierre Joye) hi Lester, On Fri, Sep 7, 2012 at 8:51 AM, Lester Caine 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