[Development] Why the UI font is not clear on Windows?

31 views
Skip to first unread message

Loaden

unread,
Mar 15, 2012, 7:19:31 PM3/15/12
to devel...@qt-project.org
Look the UI, Why the font is not clear?
The UI is very ugly? I lost some settings?
I noticed this issue some months, but it still exist on current master branch.
Need help for this, thanks!
If you can't got the attenments, please see:

--
Regards
Loaden

font.png

gunnar...@nokia.com

unread,
Mar 16, 2012, 3:47:36 AM3/16/12
to loa...@gmail.com, devel...@qt-project.org
Inside qpaintengine_raster.cpp, in the begin function, there is a check that decides which glyphCache is being used. It should pick RGBMask for the windows backingstore. I suspect that the bug is that it does not pick that path. Find out why, and you have your fix :)

cheers,
Gunnar


________________________________________
From: development-bounces+gunnar.sletta=noki...@qt-project.org [development-bounces+gunnar.sletta=noki...@qt-project.org] on behalf of ext Loaden [loa...@gmail.com]
Sent: Friday, March 16, 2012 12:19 AM
To: devel...@qt-project.org
Subject: [Development] Why the UI font is not clear on Windows?

--
Regards
Loaden

_______________________________________________
Development mailing list
Devel...@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Friedemann Kleint

unread,
Mar 16, 2012, 10:39:10 AM3/16/12
to devel...@qt-project.org
Hi,

>Inside qpaintengine_raster.cpp, in the begin function, there is a
check that decides which glyphCache is being used. It should pick
RGBMask for the windows >backingstore. I suspect that the bug is that it
does not pick that path. Find out why, and you have your fix :)

The value is correct, it is 0 ( RGBMask ).

The issue is apparently that the Free Type font engine is used, which
still requires a bit of work on Windows. In the meantime, you can use
the native font engine by specifying the command line argument:

<app> -platform windows:fontengine=native

Regards,
Friedemann

--
Friedemann Kleint
Qt Open Source Team
Nokia, Qt Development Frameworks

Loaden

unread,
Mar 16, 2012, 9:48:55 PM3/16/12
to Friedemann Kleint, devel...@qt-project.org
Thanks for reply! I test it, and can be sure it clear now.
D:\qt-everywhere-opensource-src-5.0.0\qtbase\bin>tabdialog.exe -platform window
:fontengine=native
I hope it's can be fixed ( or improved ) soon. Because I personaly thought many people don't want to see the un-clear font of the current UI.
Thanks again!

2012/3/16 Friedemann Kleint <Friedema...@nokia.com>
-platform windows:fontengine=native




--
Regards
Loaden

1+1=2

unread,
Mar 16, 2012, 10:02:12 PM3/16/12
to Loaden, devel...@qt-project.org
Hi,

Before this get fixed, we can simply set environment variable
"QT_QPA_PLATFORM" to the value "window:fontengine=native" under
windows, then all applications will work as expected.

IMO, it is not as bad as it seems, by doing this, users will become
more familiar with how to specify qpa plugin and its options at least.

Debao

2012/3/16 Loaden <loa...@gmail.com>:

Loaden

unread,
Mar 16, 2012, 10:12:22 PM3/16/12
to 1+1=2, devel...@qt-project.org
Wow! Thanks!!
BTW, My fault, the vaule should be:
"QT_QPA_PLATFORM" to the value "windows:fontengine=native"
I test it on Windows 7 32bit, It works well.
2012/3/17 1+1=2 <dbzha...@gmail.com>
QT_QPA_PLATFORM



--
Regards
Loaden

Loaden

unread,
Mar 20, 2012, 11:19:36 PM3/20/12
to 1+1=2, devel...@qt-project.org
I found another way, just use configure option: -no-freetype
The on Windows the issue gone.

2012/3/17 Loaden <loa...@gmail.com>



--
Regards
Loaden

Loaden

unread,
Mar 29, 2012, 7:52:16 PM3/29/12
to 1+1=2, devel...@qt-project.org
QT_QPA_PLATFORM=windows:fontengine=native can't work now, -no-freetype is invalid too?
Any comments?

2012/3/21 Loaden <loa...@gmail.com>



--
Regards
Loaden

Reply all
Reply to author
Forward
0 new messages