Qt does not return correct Font Height
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Qt does give correct Font Height. This code returns -1:
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: 24613
- Build: 41727
- Version: 1.1 (SVN)
- Fixed in revision: 41739 (#3e71fee9)