Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62895 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61098 invoked from network); 7 Sep 2012 15:46:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2012 15:46:31 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.223.170 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:50563] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/86-09664-CC61A405 for ; Fri, 07 Sep 2012 11:46:28 -0400 Received: by ieak14 with SMTP id k14so719043iea.29 for ; Fri, 07 Sep 2012 08:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=VLMrehhaEdzvcp2QksxW0E5OH77WvRqH2AuyiT2AX3s=; b=BMvEMe800kZSfNem6vP1e9zsJIDlq1Pac6j5hGLH1o2TCQpdXHqAORCPcLrcZUFPDk M81I/uZ+ByxgVbyEm5miesYPLR8tx+XbMYaWct4N8r6t2rLQU/7UEGGtkT3w1SBPoYOO rRsWcg5KQb1JSuKZ+YMo4oUn4JqX2O7Gz3iKuVwapUAdIdPOp+RT2ZYdFwLan2EjL/5y tD7mNFvezk9GRDOMPYAe21wfFKJi+xR0MZf902/JZw5ofmGohlS/p/k/B0T3/1N01ZPS l8Z+SrQg90CJcAhHmU4osw9H1L9rO/H+c3XT2hyxEe41ULaQw9qjRJzuYesKYrhFb0/Y WB/A== MIME-Version: 1.0 Received: by 10.50.202.73 with SMTP id kg9mr9461408igc.42.1347032777254; Fri, 07 Sep 2012 08:46:17 -0700 (PDT) Received: by 10.231.102.9 with HTTP; Fri, 7 Sep 2012 08:46:14 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Sep 2012 11:46:14 -0400 Message-ID: To: Pierre Joye Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0447a25130666804c91e82f9 X-Gm-Message-State: ALoCoQmkD158qr4q8iX1sfi2xwqlPfVYpqlwoMWuKx8Otr5icq6hidJB7J0nJKxEYJNPB/MCdsI3 Subject: Re: [PHP-DEV] is GD being actively maintained? From: rasmus@mindplay.dk (Rasmus Schultz) --f46d0447a25130666804c91e82f9 Content-Type: text/plain; charset=ISO-8859-1 Good point - the bug could actually be in the rendering, rather than in the bounding box calculation. We could determine which is the case, by running the exact same script with the exact same font, on a system where the bug is present, and on another system where it's not. Then overlay the resulting images in photoshop: - if the type aligns, and the red lines do not, the bug is in the bounding box computation. - if the type does not align, the bug is either in the type rendering, or in both (less likely) the rendering and bounding box computation. That should narrow it down some? On Fri, Sep 7, 2012 at 1:12 AM, Pierre Joye wrote: > On Fri, Sep 7, 2012 at 3:09 AM, Rasmus Schultz wrote: > > Jannik, > > > > 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? > > It can depend on three things: > > - bug in gd (bbox or offset calculation) > - freetype version > - freetype options (some options, not always enabled, strongly affects > rendering) > > cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > --f46d0447a25130666804c91e82f9--