LazFreeType crashes on Suse with FPC 2.7.1
Original Reporter info from Mantis: mschnell
-
Reporter name: Michael Schnell
Original Reporter info from Mantis: mschnell
- Reporter name: Michael Schnell
Description:
First I got this bug with some "luxi" font.
So I removed all "luxi*" files from the /usr/fonts dir and all it's subdirs.
Now I get it with DejaVuSerifCondensed-Italic.ttf
Here the call stack trace:
#0 SYSTEM_$$_HANDLEERRORADDRFRAME$LONGINT$POINTER$POINTER at :0
#1 SYSTEM_$$_HANDLEERRORFRAME$LONGINT$POINTER at :0
#2 ?? at :0
#3 LOAD_TRUETYPE_DIRECTORY(0xb7ca07d8, 0) at ttload.pas:262
#4 FACE_CREATE(0xb7ca07d8, 0xbfffee78) at ttobjs.pas:1850
#5 CACHE_NEW({CLAZZ = 0x838e030, ACTIVE = 0x0, IDLE = 0x0, IDLE_COUNT = 0}, 0x55555555, 0xbfffee78) at ttcache.pas:332
#6 TT_OPEN_FACE(0xb7fce2ac '/usr/share/fonts/truetype//DejaVuSerifCondensed-Italic.ttf', {Z = 0x55555555}) at lazfreetype.pas:524
#7 FONTSSCANFORTTF(0xb7c843ac '/usr/share/fonts/truetype//', 0xb7fce1b0) at customdrawn/customdrawnproc.pas:856
#8 BACKENDLISTFONTPATHS(0xb7c6c020, 0xb7c841a0, 0xb7fce1b0) at customdrawn/customdrawnwinapi_x11.inc:696
#9 GENERICAPPINIT(0xb7c6c020) at customdrawn/customdrawnobject.inc:88
#10 APPINIT(0xb7c6c020, {PIXELSPERINCHX = 96, PIXELSPERINCHY = 96, COLORDEPTH = 24, INITIALIZED = true}) at customdrawn/customdrawnobject_x11.inc:198
#11 INITIALIZE(0xb7c94280) at include/application.inc:449
#12 main at /tmp/project1.lpr:18
Here the lxfontpaths.txt file (after modifying the sources to always create same):
/usr/share/fonts/Type1//
/usr/share/fonts/URW//
/usr/share/fonts/truetype//
/usr/share/fonts/encodings/large/
/usr/share/fonts/Type1/
/usr/share/fonts/util/
/usr/share/fonts/100dpi/
/usr/share/fonts/Speedo/
/usr/share/fonts/misc/
/usr/share/fonts/75dpi/
/usr/share/fonts/cyrillic/
/usr/share/fonts/URW/
/usr/share/fonts/cantarell/
/usr/share/fonts/truetype/
Additional information:
I attached the ttf file in quesion.
I tried as well the luxi ttfs I have in this system as a set that I have been sent copied from a system where custom drawn supposedly does work.
Mantis conversion info:
- Mantis ID: 21582
- Version: 0.9.30.5 (SVN)
- Monitored by: » AntonK (Anton Kavalenka)