FreeType version 2.5.0.1 released

Arieh

Verified User
Joined
May 27, 2008
Messages
1,236
Location
The Netherlands
FreeType version 2.5.0.1 released

CHANGES BETWEEN 2.5.0 and 2.5.0.1

No code changes. However, CFF_CONFIG_OPTION_OLD_ENGINE was
accidentally enabled.

CHANGES BETWEEN 2.4.12 and 2.5

I. IMPORTANT BUG FIXES

- The cache manager function `FTC_Manager_Reset' didn't flush the
cache.


II. IMPORTANT CHANGES

- Behdad Esfahbod (on behalf of Google) contributed support for
color embedded bitmaps (eg. color emoji).

A new load flag, FT_LOAD_COLOR, makes FreeType load color
embedded-bitmaps, following this draft specification

https://color-emoji.googlecode.com/git/specification/v1.html

which defines two new SFNT tables, `CBDT' and `CBLC' (named and
modeled after `EBDT' and `EBLC', respectively). The color
bitmaps are stored in the new FT_PIXEL_MODE_BGRA format to
represent BGRA pre-multiplied sRGB images. If PNG support is
available, PNG color images as defined in the same proposed
specification are supported also.

Note that color bitmaps are converted to grayscale if client
didn't ask for color.

- As announced in the previous release, the old FreeType CFF
engine is now disabled by default. It can be conditionally
compiled by defining the configuration macro
CFF_CONFIG_OPTION_OLD_ENGINE.

- As announced in the previous release, all code related to macro
FT_CONFIG_OPTION_OLD_INTERNALS has been removed, thus becoming
obsolete.


III. MISCELLANEOUS

- The property API (`FT_Property_Get' and `FT_Property_Set') is
now declared as stable.

The exception, however, are the experimental auto-hinter
properties `glyph-to-script-map' and `fallback-script' which are
subject to change in a forthcoming release.

- `ftview' has been updated to support color embedded bitmaps; it
can be toggled on and off with key `c'. The small cache toggle
is now key `K'.

- It is now possible to control the version of the TrueType
hinting engine using the new `interpreter-version' property of
the `truetype' module: Versions 35 and 38 (the default) are
supported, which roughly corresponds to disable and enable
subpixel hinting support, respectively.

In both `ftview' and `ftdiff', switching between the two
versions can be done with key `H'. In the `ftbench' demo
program, command line option `-H' has been extended to activate
the non-default interpreter version.

- The `ttdebug' program has been further improved. In particular,
it accepts a new command line option `-H' to select the hinting
engine.

- Another round of TrueType subpixel hinting fixes.

- The `apinames' tool can now create an import file for NetWare.

- 64bit compilation of the new CFF engine was buggy.

- Some fixes to improve robustness in memory-tight situations.
 
FreeType 2.5.0.1 is now in custombuild, and I have upgraded. There is no problems. However when looking at a phpinfo page it say "FreeType Version 2.5.0", and when doing ./build versions it say:

Code:
Latest version of FreeType: 2.5.0.1
Installed version of FreeType: 2.5.0

FreeType 2.5.0 to 2.5.0.1 update is available.

My guess is that it is because FreeType itself has forgot to change the version number in the package. So this is not a error in DirectAdmin, but a error in FreeType.
 
No, I don't think I am. Did you not get the same "problem" after upgrade? It happen on all my four servers.
 
Ok, confirmed, it does the same at me, i've also checked build script, it run "/usr/local/bin/freetype-config --ftversion" for check current version and that command show the 2.5.0 version, so, or the file to use for check has changed, or has been set the wrong version number in the new version ;)

Regards
 
Thanks for confirmation. I don't find this to be a problem, because it all seem to work fine. I think it is the FreeType developers that forgot to update the version number in the package. So I will ignore it, the next time there is a new FreeType version, it will display correct version again. :)
 
Hello,

What I've done is repackaged the 2.5.0.1 file into a 2.5.0 file (had to rename the directory).

So we've now got the 2.5.0.1 package, with the 2.5.0 version.
This should work fine as a workaround for the version issue.

John
 
i'm getting the following error:

In file included from /usr/local/include/libpng12/png.h:474,
from /usr/local/directadmin/custombuild/freetype-2.5.0/src/sfnt/pngshim.c:30,
from /usr/local/directadmin/custombuild/freetype-2.5.0/src/sfnt/sfnt.c:31:
/usr/local/include/libpng12/pngconf.h:328: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
/usr/local/include/libpng12/pngconf.h:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [/usr/local/directadmin/custombuild/freetype-2.5.0/objs/sfnt.lo] Error 1

*** The make has failed, would you like to try to make again? (y,n):

anyone got any ideas?

thanks in advance
 
If I should make a guess, try to recompile/upgrade libpng:

Code:
./build update
./build libpng
./build freetype
 
That is good to hear. Also remember to recompile php after upgrade of freetype: ./build php n :)
 
Hi,
I am having difficulties getting Freetype to update as well. I keep getting the following error(s):

Code:
checking for libpng... ./configure: line 4775: which: command not found
configure: error: `libpng-config' not found;
either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables,
or pass `--without-png' to the `configure' script.
make: *** [setup] Error 1
Done. Making freetype-2.5.0...
Trying to make FreeType...
config.mk:25: builds/unix/unix-def.mk: No such file or directory
config.mk:26: builds/unix/unix-cc.mk: No such file or directory
make: *** No rule to make target `builds/unix/unix-cc.mk'.  Stop.

*** The make has failed, would you like to try to make again? (y,n):

This is on DirectAdmin 1.43.3 and CentOS 5.9, updating Freetype from 2.4.12 to 2.5.0. I've tried ./build libpng, thinking it may be similar to problem above, but to no avail. Been searching for similar issues and problems trying to figure it out, but can't find anything that helps me at all.

Any ideas?
Thanks
 
This error may be the cause:

Code:
checking for libpng... ./configure: line 4775: which: command not found

Try:
Code:
yum -y install which

Regards
 
Same error

Hello,

I have the same error:

---------------------------------------------------
In file included from /usr/include/libpng12/png.h:371,
from /usr/local/directadmin/custombuild/freetype-2.5.0/src/sfnt/pngshim.c:30,
from /usr/local/directadmin/custombuild/freetype-2.5.0/src/sfnt/sfnt.c:31:
/usr/include/libpng12/pngconf.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
/usr/include/libpng12/pngconf.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [/usr/local/directadmin/custombuild/freetype-2.5.0/objs/sfnt.lo] Error 1

*** The make has failed, would you like to try to make again? (y,n):
----------------------------------------------------

I tried

./build update
./build libpng
./build freetype

And
yum -y install which

which was already installed

But I still receive the same error - I have DirectAdmin 1.43.3 on Centos 5.9

Any ideas, thanks in advance.
 
Back
Top