GetFontData doesn't work on GTK
Original Reporter info from Mantis: Dibo
-
Reporter name: Krzysztof Dibowski
Original Reporter info from Mantis: Dibo
- Reporter name: Krzysztof Dibowski
Description:
Hi,
Most of controls (or canvas) have font name "default". There is
"GetFontData" function but it doesn't work on GTK (I can't test it on GTK for now, but some other user confirm that, he have latest lazarus 1.1 from SVN with GTK2 and FPC 2.6.0). I have QT widgetset and it work. Some other user confirmed that it work on windows too, so problem is only on GTK where this function is returning "default" instead of original font name. Demo attached.
BTW: Compiler is warning me that Handle is deprecated.
Regards
Additional information:
Lazarus 1.1 from SVN, GTK2
FPC 2.6.0
Mantis conversion info:
- Mantis ID: 21828
- Version: 1.1 (SVN)
- Fixed in revision: 36967 (#92224c77)