[fpc-pascal] When compiling with gdb and dwarf code works, no gdb and dwarf, segfault

2011-04-07 Thread ik
Hello, I have this weird problem, that when I compile my code (FPC 2.5.1) with debug information (gdb, dwarf) my code works properly. When I remove the debug information, sometimes the code works well, and sometimes on the same code, I have segfult based on libc6. How can I figure out what/where

Re: [fpc-pascal] Re: TFPImageCanvas TextOut raise an exception

2011-04-07 Thread ik
On Thu, Apr 7, 2011 at 23:13, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > In the wiki there is a tutorial, but the wiki seams down at the moment. > That's how I figured it out (and also grep :)) > > -- > Felipe Monteiro de Carvalho > ___

[fpc-pascal] Test, please ignore

2011-04-07 Thread Florian Klämpfl
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: TFPImageCanvas TextOut raise an exception

2011-04-07 Thread Felipe Monteiro de Carvalho
In the wiki there is a tutorial, but the wiki seams down at the moment. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-07 Thread Flávio Etrusco
On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote: > Can i do that? > type >   IIntf3 = interface(IIntf11, IIntf2) > >   end; > > Thanks in advance. > -- > Zaher Dirkey > For Corba interfaces, yes. Not for COM interfaces. http://www.freepascal.org/docs-html/ref/refse39.html -Flávio ___

[fpc-pascal] Re: TFPImageCanvas TextOut raise an exception

2011-04-07 Thread ik
Solved it. I needed to do the following: Canvas.Font := TFreeTypeFont.create; FontMgr.SearchPath := '/usr/share/fonts/TTF/'; Then it stop having problems. Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il On Thu, Apr 7, 2011 at 16

[fpc-pascal] TFPImageCanvas TextOut raise an exception

2011-04-07 Thread ik
Hello, When I try to do the following: Canvas.TextOut(5, WhereY, Text); to an image, I get the exception of PixelCanvasException with the message of Not Available. How can I draw text on a canvas using TFPImageCanvas ? Thanks Ido LINESIP - Opening the source for communication http://www.linesi