On 12/8/06, George Birbilis <[EMAIL PROTECTED]> wrote:
BTW, speaking of many
platforms, how does Lazarus support "fonts" crossplatform? (does it delegate
the burden onto the OS ? [since there is raster/bitmap fonts, TrueType,
OpenType, PostScript etc. fonts that one could support)
Each widgetset implements a function called CreateFontIndirect. This
together with SelectObject and adequate code on the DC functions forms
Font support. So basically font support is written as a
reimplementation of several winapi functions that become available on
LCLIntf unit.
Those functions map font handling to the underlying widgetset, so it´s
up to him to actually do the drawing. So Lazarus supports whichever
fonts the underlying widgetset supports.
--
Felipe Monteiro de Carvalho
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives