Author Topic: Setting Font values  (Read 4188 times)


  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Setting Font values
« on: April 29, 2013, 11:29:03 am »
Is setting a Font value (eg: Arial, Helvetica, Raize etc) supported?

I'm using Lazarus 1.1 r40661 FPC 2.6.3 x86_64-freebsd-gtk 2 and dropped a button on a form, and tried to change the Button.Font value to different fonts. It seems to change from generic Sans to Serif, but doesn't change to the specific font or font size I selected.

Is this implemented? If so, how and where does LCL-CustomDrawn translate say the font name 'Helvetica' to the actual *.ttf file (required by lazfreetype) on my system?
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal