Sign in Join

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

Mailing lists / lazarus / 2012-04

Default font name

3 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.

Reply by email

zeljko
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.

Open an issue about it (and don't forget to attach example).

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120421/d3fd7d3f/attachment.html>

Reply by email

zeljko
to zeljko
zeljko wrote 9 lines
On Saturday 21 of April 2012 18:52:11 Krzysztof wrote: > 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. Open an issue about it (and don't forget to attach example).

It is fixed. see r36967

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120422/0a3cf37d/attachment.html>

Reply by email