Re: Re: gdttf.c version control ? (fwd)
| From: | Rob Goodwin | Date: | Thu, 09 Sep 1999 23:12:19 +0000 |
| Subject: | Re: Re: gdttf.c version control ? (fwd) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10786@lists.php.net to get a copy of this message | ||
I've ended up throwing that patch into into the current gdttf.c for
3.0.12.
I put the patch here:
ftp://myfonts.seet.com/pub/gdttf.c.patch
Wasn't sure I could as it was my first time making a patch but what I
actually did was pretty basic. I'm not sure where the code I cut and
pasted came from. All I know is it made the change I needed to get this
url rendering:
http://myfonts.seet.com/testdriverender.php3?id=1117&s=abcrdefghi&p=35
before it was just a broken image although the renderer worked fine on
other fonts.
Just thought I'd offer it in case it makes someone else's job a bit
easier.
-Rob
Rasmus Lerdorf wrote:
>
> Marko, this seems to be a call for action that is right up your alley.
> How about getting that 4-bit anti-alias hack in there?
>
> ---------- Forwarded message ----------
> Date: Wed, 08 Sep 1999 14:39:51 -0400
> From: John Ellson <ellson@lucent.com>
> To: Rob Goodwin <rob@fusionmediagroup.com>
> Cc: rasmus@lerdorf.on.ca, jah@mork.net
> Subject: Re: gdttf.c version control ?
>
> Rob,
>
> Thanks for collecting the various versions together.
>
> This code is now in Tom Boutell's gd-1.6.3 (PNG only) so
> my preference would be to develop a patch against that.
>
> I assume it would be desirable for PHP to use an installed
> libgd.so or libgd.a without modification? Are there other
> changes for PHP that you folks would like to get into libgd
> at this time?
>
> John
>
> Rob Goodwin wrote:
> >
> > Hi there,
> > I'm having some problems rendering certain characters sets with Freetype as
> > I upgrade from PHP 3.0.7 to 3.0.12. I was having these same problems before
> > when I first began using PHP and Freetype. I posted for help and what
> > resulted was somebody sending me a patched version of gdttf.c that was a
> > little more flexible with its characters sets. You can diff the attached
> > gdttf.c.3.0.7.orig and gdttf.c.3.0.7.patched to see the code changes that
> > seemed to fix the problem. Or you can search "TT_Get_CharMap_ID" in both
> > to see the most obvious changes. I don't know much about how character
> > sets change between fonts but it does seem the code in gdttf.c.3.0.7.patched
> > takes more into account... :-)
> >
> > I am now compiling 3.0.12 and find that the changes in the 3.0.7.patched
> > file I was given don't seem to exist in the latest version. I am emailing
> > this to you guys because you are more into this area than I and although I
> > can help spot the problem I don't feel that comfortable fixing it. I'm
> > hoping whoever wrote this code originally will have an easier time.
> >
> > Who gave me that patched code originally and why didn't it get into the
> > later version? Who should I talk to about getting the mods done for 3.0.12
> > and hopefully 4.0?
> >
> > thanks,
> >
> > -Rob
> >
> > ------------------------------------------------------------------------
> > Name: gdttf.c.3.0.12
> > gdttf.c.3.0.12 Type: unspecified type (application/octet-stream)
> > Encoding: quoted-printable
> >
> > Name: gdttf.c.3.0.7.orig
> > gdttf.c.3.0.7.orig Type: unspecified type (application/octet-stream)
> > Encoding: quoted-printable
> >
> > Name: gdttf.c.3.0.7.patched
> > gdttf.c.3.0.7.patched Type: unspecified type (application/octet-stream)
> > Encoding: quoted-printable
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net