[Lazarus] How to know if font is Fixed Width or not

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Oct 29 21:56:49 CET 2009


On 29/10/2009, theo <xpde at theo.ch> wrote:
> There is an example in lazarus/examples/fontenum
>  It shows how to filter the font list for FIXED_PITCH or MONO_FONT
>  Maybe this helps.

Thanks I'll go take a look. At the moment I used a very crude method
by looking for 'mono', 'fixed' or 'courier' in the font name. :-)
Hopefully there is a better solution than that.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list