Description of problem: fontconfig crashes on the font file MSungStd-Light-Acro.otf when creating the fonts.cache-1 file. fc-cache will segfault when processing a directroy with this file. The existence of this file prevents X start-up on window managers using fontconfig Version-Release number of selected component (if applicable): 2.2.3-5 How reproducible: Always Steps to Reproduce: 1. Get the font file from Adobe Asian Font Packs http://www.adobe.com/products/acrobat/acrrasianfontpack.html by choosing Adobe Acrobat 5.x Chinese Traditional UNIX You will get a chtfont.tar.gz file containing the MSung... file 2. The file is 8351624 bytes with md5sum 42aa2141a7406922f301108a1328bd0f 3. Create a directory for the file and put the directory in /etc/fonts/local.conf 4. Run fc-cache -v -f Actual results: fc-cache will segfault on the directory containing this font file Expected results: fc-cache will correctly create the cache file Additional info: This works on FC2 - could be problem in the fontconfig library.
Unfortunately the font file is too large to attach here - my apologies for making you go through hoops to access the font but it is directly available at ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/chtfont.tar.gz
Tracked this down to freetype - I replaced libfreetype.so.6 with the library from FC2 and it works.
Faulty version of freetype is 2.1.9-1 as shipped with Fedora Core 3. FC2's freetype-2.1.7-4 is ok. Other large otfs from Adobe (e.g. Chinese Simplified, Japanese) ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/chsfont.tar.gz STSongStd-Light-Acro.otf ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/jpnfont.tar.gz KozMinPro-Regular-Acro.otf don't trigger this problem in FC3.
Do you know if the problem still occurs with freetype 2.1.10 ?
(In reply to comment #4) > Do you know if the problem still occurs with freetype 2.1.10 ? Fixed using 2.1.10 from rawhide (problem still occurs with 2.1.9 in Core 4); can generate cache file now.
Created attachment 120279 [details] The correct fontconfig cache file This cache file is correctly generated by freetype 2.10 in rawhide 2005-10-09. fc-cache crashes on this font file all the way from FC3 to FC4 with 2.1.9.
Oops - that should be rawhide 2005-10-22.
Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you!
Closing since it works in FC5 and forward, and FC3 and FC4 are maintained by Fedora Legacy for security updates only.