Recent

Author Topic: Can't get Fonts working  (Read 4750 times)

chris.gordon-smith

  • New Member
  • *
  • Posts: 12
    • http://graffiti.virgin.net/c.gordon-smith/index.html
Can't get Fonts working
« on: March 28, 2004, 11:42:23 pm »
I am having trouble getting fonts to work with Lazarus. I have managed to get FontDialog working, but when I choose a font and then assign it to a component (see below), nothing happens.  

FontDialog1.Execute();
Button1.Font := FontDialog1.Font;
writeln(Button1.Font.Name);

The font name output by the writeln line looks fine.

Can anyone help.

I am running 0.9.1 beta under SUSE Linux 9.0.

Chris Gordon-Smith
London
Homepage: http://graffiti.virgin.net/c.gordon-smith/

Anonymous

  • Guest
Can't get Fonts working
« Reply #1 on: March 29, 2004, 01:11:42 am »
Font properties are set by the the current theme in gtk1  - lazarus cannot override them.

 

TinyPortal © 2005-2018