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:50, ik <ido...@gmail.com> wrote:

> 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.linesip.com
> http://www.linesip.co.il
>
>
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to