Re: [fpc-pascal] Enabling FPC_HAS_FEATURE_CONSOLEIO
Mattias Gaertner wrote: > > Can you use variants? > No, it requires objfpc support which I don't have yet (see my other post about FPC_HAS_FEATURE_HEAP). What if I declare fpc_write_text_shortstr with the same signature as the one in text.inc? -- View this message in context: http://www.nabble.com/Enabling-FPC_HAS_FEATURE_CONSOLEIO-tp18686657p18706616.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] fpimage font
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. 0x7f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 (gdb) bt #0 0x7f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 #1 0x00488b70 in FREETYPE_TFONTMANAGER_$__CREATEGLYPH$CHAR$$PMGRGLYPH () #2 0x7f5d83f05220 in ?? () #3 0x0054 in ?? () #4 0x7f5d83efd2e0 in ?? () #5 0x001e in ?? () #6 0x7fff8bf18c20 in ?? () #7 0x00488c11 in FREETYPE_TFONTMANAGER_$__GETGLYPH$CHAR$$PMGRGLYPH () #8 0x0003 in ?? () #9 0x0014 in ?? () #10 0x0014 in ?? () #11 0x in ?? () Should I debug it, or am I misusing fpimage fonts? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpimage font
On Tue, 29 Jul 2008, Mattias Gärtner wrote: > What is the status of the freetype font support of fpimage? It works as far as I know ? > 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. > 0x7f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 > (gdb) bt > #0 0x7f5d83a92f14 in FT_Get_Glyph () from /usr/lib/libfreetype.so.6 > #1 0x00488b70 in > FREETYPE_TFONTMANAGER_$__CREATEGLYPH$CHAR$$PMGRGLYPH () > #2 0x7f5d83f05220 in ?? () > #3 0x0054 in ?? () > #4 0x7f5d83efd2e0 in ?? () > #5 0x001e in ?? () > #6 0x7fff8bf18c20 in ?? () > #7 0x00488c11 in > FREETYPE_TFONTMANAGER_$__GETGLYPH$CHAR$$PMGRGLYPH () #8 > 0x0003 in ?? () #9 0x0014 in ?? () > #10 0x0014 in ?? () > #11 0x in ?? () > > Should I debug it, or am I misusing fpimage fonts? I think some debugging is in order here ? Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Enabling FPC_HAS_FEATURE_CONSOLEIO
leledumbo wrote: > This is very inconvenient. Moreover, assertions needs it. My first attempt, > is to comment out {$undef FPC_HAS_FEATURE_CONSOLEIO} in my system.pas. But > then, FPC argues about Unknown compilerproc "fpc_write_text_shortstr". I > found it in text.inc, but it's only included if FPC_HAS_FEATURE_TEXTIO is > defined. Knowing that I don't yet have any file system driver, I guess it's > impossible to reach my goal by defining it. > What's the correct way? Can you undefine FPC_HAS_FEATURE_TEXTIO as well? In the end, you have nothing left :-). Or is this the point? What's the goal? Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal