Gtk2 returns only font name
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Gtk2 returns only font name. Following code returns 0:
uses ... LCLIntf, LCLType;
var aLogFont: TLogFont;
begin
LCLIntf.GetObject(Label1.Font.Reference.Handle, sizeof(TLogFont), @aLogFont);
WriteLn(aLogFont.lfHeight);
Steps to reproduce:
Run demo, click button.
Additional information:
Lazarus 1.1 r41727M FPC 2.7.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 24614
- Build: 41727
- Version: 1.1 (SVN)