Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-07

fpimage font

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gärtner

What is the status of the freetype font support of fpimage?

I tried the following:
http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_without_LCL

which runs fine under 32bit, but under 64 bit I get an AV:

GNU gdb 6.8-debian
[...]
Program received signal SIGSEGV, Segmentation fault. 0x00007f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 (gdb) bt
#0 0x00007f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 #1 0x0000000000488b70 in
FREETYPE_TFONTMANAGER_$__CREATEGLYPH$CHAR$$PMGRGLYPH () #2 0x00007f5d83f05220 in ?? ()
#3 0x0000000000000054 in ?? ()
#4 0x00007f5d83efd2e0 in ?? ()
#5 0x000000000000001e in ?? ()
#6 0x00007fff8bf18c20 in ?? ()
#7 0x0000000000488c11 in
FREETYPE_TFONTMANAGER_$__GETGLYPH$CHAR$$PMGRGLYPH () #8 0x0000000000000003 in ?? () #9 0x0000000000000014 in ?? () #10 0x0000000000000014 in ?? ()
#11 0x0000000000000000 in ?? ()

Should I debug it, or am I misusing fpimage fonts?

Mattias

Michael Van Canneyt
to Mattias Gärtner
Mattias Gärtner wrote
What is the status of the freetype font support of fpimage?

It works as far as I know ?

Show quoted text 25 lines
I tried the following: http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_without_LCL which runs fine under 32bit, but under 64 bit I get an AV: GNU gdb 6.8-debian [...] Program received signal SIGSEGV, Segmentation fault. 0x00007f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 (gdb) bt #0 0x00007f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 #1 0x0000000000488b70 in FREETYPE_TFONTMANAGER_$__CREATEGLYPH$CHAR$$PMGRGLYPH () #2 0x00007f5d83f05220 in ?? () #3 0x0000000000000054 in ?? () #4 0x00007f5d83efd2e0 in ?? () #5 0x000000000000001e in ?? () #6 0x00007fff8bf18c20 in ?? () #7 0x0000000000488c11 in FREETYPE_TFONTMANAGER_$__GETGLYPH$CHAR$$PMGRGLYPH () #8 0x0000000000000003 in ?? () #9 0x0000000000000014 in ?? () #10 0x0000000000000014 in ?? () #11 0x0000000000000000 in ?? () Should I debug it, or am I misusing fpimage fonts?

I think some debugging is in order here ?

Michael.