[lazarus] SystemFont in TTextStyle

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 26 13:04:17 EDT 2003


On Tue, 26 Aug 2003 18:53:30 +0200
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:

> Mattias Gaertner wrote:
> 
> > On Tue, 26 Aug 2003 17:50:49 +0200
> > Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> > 
> > 
> >>In all TTextStyle initializations, ExpandTabs is not 
> >>initialized.
> > 
> > 
> > It is set to false. Is this the correct value?
> 
> I think so...the object inspector doesn't use tabs.
> 
> > 
> >>2) The system font is really ugly on win32. Should the interface 
> >>substitute a nicer font or should the lcl only specify system font for 
> >>fatal errors?
> > 
> > 
> > The LCL should use as default font the same font as all other apps on
> > the desktop. 
> 
> Okay, but what is the difference between setting TextStyle.SystemFont 
> and specifying FontName = 'default' ?

The Font Name is only one TFont property.
TextStyle.SystemFont specifies the name, size, pitch, charset. And maybe
more in future.


Mattias






More information about the Lazarus mailing list