[fpc-pascal] What is TFPCustomDrawFont used for

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jun 29 13:18:05 CEST 2007


On 29/06/07, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> A TFPCustomDrawFont descendent "knows" how to draw itself on a canvas:
> Normally you should not use it, unless you are planning to use freetype
> support. There the font draws itself on a canvas. In all other cases
> (windows, X etc), the canvas "knows" how to handle a font. (namely,
> the system does it)

Ummm... I don't use freetype directly, but rather Xft (under X11). My
calls are normally Canvas.TextOut(...), so I think TFPCustomFont will
be my best bet for now.

Thanks again.

Graeme.



More information about the fpc-pascal mailing list