[OpenJDK 2D-Dev] freetype version check (2.3.0 -> 2.2.1)
Phil.Race at Sun.COM
Mon May 4 19:34:15 UTC 2009
Igor did the freetype work and in he commented in email on 23rd July 2007 :
> - Changed required freetype version from 2.3.4 to 2.3.0
> (it did compile with 2.2.1 too for me but Font2DTest was showing garbage
> and i had no chance to investigate why this happens)
So I don't think we want to move it down without knowing what that was about.
It may have been platform-specific. Igor - can you remember two years back ?
I also recall there was a nasty bug where having fonts with embedded
bitmaps on your system caused an infinite loop inside freetype.
I think we needed to update the freetype lib because of that, but
I can't remember the details to be sure.
Since fonts with embedded bitmaps exist at least on Solaris & Windows
such a bug is a a definite problem,
Mark Wielaard wrote:
> The REQUIRED_FREETYPE_VERSION in jdk/make/common/shared/Platform.gmk is
> set to 2.3.0, but the freetype backend doesn't seem to use any new in
> 2.3.0 api. In fact it builds and runs fine on 2.2.1. Which is the
> default on centos 5 for example, and they have had packages for a very
> long time now. The following patch moves the required version down. I
> have used this in icedtea to build on older installs for a while.
> 2009-05-04 Mark Wielaard <mjw at redhat.com>
> * Makefile.am (ICEDTEA_PATCHES): Add icedtea-freetypeversion.patch.
> * patches/icedtea-freetypeversion.patch: New patch.
> * HACKING: Document new patch.
> Would be nice to have this upstream to facilitate building on a wider
> range of platforms.
More information about the 2d-dev