RE: [PHP-DEV] Re: gdttf.c version control ? From: Rob Goodwin (rob <email protected>)
Date: 09/09/99

Rob Goodwin wrote:

I've ended up throwing this 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 originall except that it was from someone on the list.
But I know 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 <email protected>>
> > To: Rob Goodwin <rob <email protected>>
> > Cc: rasmus <email protected>, jah <email protected>
> > 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 <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>