PDA

View Full Version : FreeType 2.4.2 has been released



smtalk
08-07-2010, 02:42 PM
CHANGES BETWEEN 2.4.1 and 2.4.2

I. IMPORTANT BUG FIXES

- A stack overflow in CFF Type2 CharStrings interpreter is fixed.

- Handling Type 42 font deallocation was broken; additionally, the
library is now more robust against malformed Type 42 fonts.


II. MISCELLANEOUS

- Two new functions, `FT_Reference_Library' (in FT_MODULE_H) and
`FT_Reference_Face' (in FT_FREETYPE_H), have been added to
simplify life-cycle management. A counter gets initialized to 1
at the time an FT_Library (or FT_Face) structure is created.
The two new functions increment the respective counter.
`FT_Done_Library' and `FT_Done_Face' then only destroy a library
or face if the counter is 1, otherwise they simply decrement the
counter.

ditto
08-10-2010, 01:21 AM
I just upgraded from FreeType 2.3.12 to 2.4.2 using custombuild, and then I did PHP recompilation using custombuild, but still my PHP info page is showing the old FreeType version 2.3.12. However, the FreeType in server has been upgraded:

[root@***** custombuild]# freetype-config --ftversion
2.4.2

Does it require an entire Apache recompile to get it on PHP info page? If not, what should I do?

ben29
08-13-2010, 08:41 AM
after compile .
did you reastart the apache?

ditto
08-13-2010, 08:45 AM
after compile .
did you reastart the apache?

Yes, I restarted httpd. I think I have to recompile Apache to find out what the problem is. But I am waiting, hoping to find a other solution ...

ben29
08-14-2010, 07:04 AM
man.
now i give you the soultion.
do :


rn -rf /usr/local/include/freetype*

then recompile the freetype . by doing :


./build freetype

ditto
08-14-2010, 07:28 AM
man.
now i give you the soultion.
do :


rn -rf /usr/local/include/freetype*



Thank you, ben29! But can you be so kind and explain what this does?

Also, my server is installed with Zlib outside of custombuild, can I use this code to include Zlib in custombuild?

ben29
08-14-2010, 07:45 AM
Thank you, ben29! But can you be so kind and explain what this does?

Also, my server is installed with Zlib outside of custombuild, can I use this code to include Zlib in custombuild?
it's remove the old versions. and install new version
in rpm install : he rename the old folder and install
for exmple: from: freetype to: freetype_back { just exmple }
you can install zlib by using:


./build zlib

ditto
08-14-2010, 07:50 AM
Again, thank you, ben29! I will try it later at night, when my users are a sleep. Will update this thread and let you know how it goes.

ben29
08-14-2010, 08:01 AM
when you give me some question . i always find some soultion to find answer for your question.

if you need more help
send p.m , and i will give you my email.

i forget: when you recompile the freetype . u don't have to restart apache

ditto
08-15-2010, 02:54 AM
It turns out there was a few stale files of FreeType 2.3.12 wich caused the issue. After they was removed and PHP was recompiled, the new FreeType version shows correctly on the PHP info page. Problem fixed. :)