Themed drawing doesn't work for High-DPI scaled forms.
Original Reporter info from Mantis: Michl @michl1
-
Reporter name: Michl
Original Reporter info from Mantis: Michl @michl1
- Reporter name: Michl
Description:
I fixed themed text drawing in revision 55758 for Windows. Now the correct system font is also used, when themed enabled (e.g. Windows 7 Aero theme). It works fine, also when a High-DPI font is used. But it doesn't work, if the form is High-DPI scaled.
Steps to reproduce:
To see that issue enable Windows-Color -> DialogField -> Font -> Bold (see added picture options.png).
Now start the added test project. One time with "Use LCL scaling (HI-DPI)" in project options enabled and one time disabled.
On a 96DPI Windows 7 "Use LCL scaling (HI-DPI)" enabled/disabled the text is correct drawn.
On a 120DPI Windows 7 "Use LCL scaling (HI-DPI)" disabled the text is correct drawn.
On a 120DPI Windows 7 "Use LCL scaling (HI-DPI)" enabled the text is wrong drawn, it uses a normal, instead of the bold system font.
Mantis conversion info:
- Mantis ID: 32359
- OS: Windows
- OS Build: 7
- Build: 55758
- Platform: 64bit
- Version: 1.9 (SVN)
- Fixed in version: 1.9 (SVN)