Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-04

Default font name

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Krzysztof

Hi,

Most of controls (or canvas) have font name "default". How to get exact name of this font? There is
GetFontData(Button1.Font.Handle).Name function but it works on QT widget set and on GTK not.

Regards.

Sven Barth
to Krzysztof
Krzysztof wrote 6 lines
Hi, Most of controls (or canvas) have font name "default". How to get exact name of this font? There is GetFontData(Button1.Font.Handle).Name function but it works on QT widget set and on GTK not.

You should ask this on the Lazarus list.

Regards,
Sven