[Interest] terrible font rendering with QtQuick
Hi, I was working on a QtQuick application which will run on $MS windows. My app is *almost* done and everything was fine until yesterday after i decided to deploy it to other PC for testing. The problem is the font render, it's really bad on 3 windows XP and 1 windows 7, it looks exactly the same with this one: https://bugreports.qt-project.org/browse/QTBUG-31983 My Working Env: Windows 7 64bit Qt 5.2.1 mingw Now, I have tried these method: 1. change font. [Not Working] 2. set `renderType: Text.NativeRendering`. [Not Working] 3. add system environment variable: `QML_DISABLE_DISTANCEFIELD`. [looks better, but still vary bad] 4. change Qt toolchains to Qt 5.0.1(the same version but working to the bugreporter), Qt 5.3.0 [Not Working] The bug report was not updated since it was Reported, and I can't emil to the reporter because i cannot get his email on that site, so anyone could tell me if there's something i can do to make it better? (please CC to me cause i'm not subscribe to this list) screenshot of Qt demo working on Windows XP: 1. http://imagebin.org/311875 2. http://imagebin.org/311876 Regards. Evince Moi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Alan Ezust schreef op 3-6-2014 19:04: Why are you still using Qt 5.2.1? I know some serious font rendering issues from QML were fixed in Qt 5.3. You act as if it is ancient. It is not. In commercial projects, you can't just jump from one version to the next without extensive re-testing. In our case, there is even lots of paperwork involved (medical). André ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [...] I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] Well give Mesa a try. It's easy, just drop in the opengl32.dll. You have to use that anyways to support remote desktop which invariably you find some of your users require. ANGLE supports Remote Desktop too, at least for non-XP machines :) I personally hadn't have a look at the MESA/llvmpipe things yet, but several people seem to be happy with it. Maybe one can come up with a list of pro's, and cons, and add it to http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL ? Regards Kai ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Why are you still using Qt 5.2.1? I know some serious font rendering issues from QML were fixed in Qt 5.3. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
On Tue, Jun 3, 2014 at 12:16 AM, Koehne Kai kai.koe...@digia.com wrote: -Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [...] I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] Well give Mesa a try. It's easy, just drop in the opengl32.dll. You have to use that anyways to support remote desktop which invariably you find some of your users require. ANGLE supports Remote Desktop too, at least for non-XP machines :) Ha really? I assumed this never worked. If we ever drop XP I'll have to re-evaluate using llvmpipe. I'd probably still be plagued by people using VirtualBox or Citrix etc. It feels like hardly anyone runs desktop apps on their desktop these days. :) Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Thanks, Ian. problem solved. Regards Evince Moi On Thu, May 29, 2014 at 1:42 PM, Ian Monroe i...@monroe.nu wrote: On May 28, 2014 10:37 PM, bane yue bane...@gmail.com wrote: It finally works! thanks you, Ian. Now i know *how* to do it, but *don't know* why to do it this way, would you mind to tell me more about this, much appreciated. Regards Evince Moi Windows OpenGL drivers are notoriously bad, that's the reason ANGLE was created. With that llvmpipe Mesa library you aren't using the GPU directly, it's traditional Windows GDI calls. Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
On Wednesday 28 May 2014 22:42:44 Ian Monroe wrote: On May 28, 2014 10:37 PM, bane yue bane...@gmail.com wrote: It finally works! thanks you, Ian. Now i know *how* to do it, but *don't know* why to do it this way, would you mind to tell me more about this, much appreciated. Regards Evince Moi Windows OpenGL drivers are notoriously bad, that's the reason ANGLE was created. With that llvmpipe Mesa library you aren't using the GPU directly, it's traditional Windows GDI calls. You could also try updating the OpenGL drivers to the latest version. The Intel drivers have improved vastly over the last 12 months. Cheers, Sean -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
You could also try updating the OpenGL drivers to the latest version of cause i tried that, that was the first thing i did after the problem exploded, but with no luck. The openGL version of the testing XP machine is 2.1, which is enough for Qt (openGL 2+), Obviously Qt does not use that. From: Sean Harmer Date: 2014-05-29 18:05 To: interest CC: Ian Monroe; bane yue Subject: Re: [Interest] terrible font rendering with QtQuick On Wednesday 28 May 2014 22:42:44 Ian Monroe wrote: On May 28, 2014 10:37 PM, bane yue bane...@gmail.com wrote: It finally works! thanks you, Ian. Now i know *how* to do it, but *don't know* why to do it this way, would you mind to tell me more about this, much appreciated. Regards Evince Moi Windows OpenGL drivers are notoriously bad, that's the reason ANGLE was created. With that llvmpipe Mesa library you aren't using the GPU directly, it's traditional Windows GDI calls. You could also try updating the OpenGL drivers to the latest version. The Intel drivers have improved vastly over the last 12 months. Cheers, Sean -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Il 29/05/2014 12:17, bane...@gmail.com ha scritto: The openGL version of the testing XP machine is 2.1, which is enough for Qt (openGL 2+), Obviously Qt does not use that. Actually the problem is that Qt uses it (because Qt doesn't know it's broken), resulting in glitches. That's why we have ANGLE and llvmpipe as workarounds. -- Join us Oct 6-8 at BCC Berlin for Qt Developer Days 2014! Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer KDAB (UK) Ltd., a KDAB Group company Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090 KDAB - Qt Experts - Platform-independent software solutions smime.p7s Description: Firma crittografica S/MIME ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] terrible font rendering with QtQuick
Hi, I was working on a QtQuick application which will run on $MS windows. My app is *almost* done and everything was fine until yesterday after i decided to deploy it to other PC for testing. The problem is the font render, it's really bad on 3 windows XP and 1 windows 7, it looks exactly the same with this one: https://bugreports.qt-project.org/browse/QTBUG-31983 My Working Env: Windows 7 64bit Qt 5.2.1 mingw Now, I have tried these method: 1. change font. [Not Working] 2. set `renderType: Text.NativeRendering`. [Not Working] 3. add system environment variable: `QML_DISABLE_DISTANCEFIELD`. [looks better, but still vary bad] 4. change Qt toolchains to Qt 5.0.1(the same version but working to the bugreporter), Qt 5.3.0 [Not Working] The bug report was not updated since it was Reported, and I can't emil to the reporter because i cannot get his email on that site, so anyone could tell me if there's something i can do to make it better? screenshot of Qt demo working on Windows XP: 1. http://imagebin.org/311875 2. http://imagebin.org/311876 Regards. Evince Moi ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
On Wed, May 28, 2014 at 8:05 PM, bane...@gmail.com bane...@gmail.com wrote: Hi, I was working on a QtQuick application which will run on $MS windows. My app is *almost* done and everything was fine until yesterday after i decided to deploy it to other PC for testing. The problem is the font render, it's really bad on 3 windows XP and 1 windows 7, it looks exactly the same with this one: So it looks like this with one Windows 7 machine? This is a QtQuick2 app? Are you using the DirectX 9 or OpenGL version of Qt? With the latter you could try using the Mesa software renderer version of opengl32.dll. https://qt-project.org/wiki/Cross-compiling-Mesa-for-Windows Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Yes it's a QtQuick2 app, on my develop machine it works well, but when deploying to other computer, it performs bad on *some* windows7 and *almost all* windows xp, after the `distance field` disabled, all windows7 works as excepted, but windows xp still does not. I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] On Thu, May 29, 2014 at 12:36 PM, Ian Monroe i...@monroe.nu wrote: On Wed, May 28, 2014 at 8:05 PM, bane...@gmail.com bane...@gmail.com wrote: Hi, I was working on a QtQuick application which will run on $MS windows. My app is *almost* done and everything was fine until yesterday after i decided to deploy it to other PC for testing. The problem is the font render, it's really bad on 3 windows XP and 1 windows 7, it looks exactly the same with this one: So it looks like this with one Windows 7 machine? This is a QtQuick2 app? Are you using the DirectX 9 or OpenGL version of Qt? With the latter you could try using the Mesa software renderer version of opengl32.dll. https://qt-project.org/wiki/Cross-compiling-Mesa-for-Windows Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
On May 28, 2014 9:52 PM, bane yue bane...@gmail.com wrote: Yes it's a QtQuick2 app, on my develop machine it works well, but when deploying to other computer, it performs bad on *some* windows7 and *almost all* windows xp, after the `distance field` disabled, all windows7 works as excepted, but windows xp still does not. I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] Well give Mesa a try. It's easy, just drop in the opengl32.dll. You have to use that anyways to support remote desktop which invariably you find some of your users require. Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
Ok, i will try that On Thu, May 29, 2014 at 1:05 PM, Ian Monroe i...@monroe.nu wrote: On May 28, 2014 9:52 PM, bane yue bane...@gmail.com wrote: Yes it's a QtQuick2 app, on my develop machine it works well, but when deploying to other computer, it performs bad on *some* windows7 and *almost all* windows xp, after the `distance field` disabled, all windows7 works as excepted, but windows xp still does not. I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] Well give Mesa a try. It's easy, just drop in the opengl32.dll. You have to use that anyways to support remote desktop which invariably you find some of your users require. Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
It finally works! thanks you, Ian. Now i know *how* to do it, but *don't know* why to do it this way, would you mind to tell me more about this, much appreciated. Regards Evince Moi On Thu, May 29, 2014 at 1:09 PM, bane yue bane...@gmail.com wrote: Ok, i will try that On Thu, May 29, 2014 at 1:05 PM, Ian Monroe i...@monroe.nu wrote: On May 28, 2014 9:52 PM, bane yue bane...@gmail.com wrote: Yes it's a QtQuick2 app, on my develop machine it works well, but when deploying to other computer, it performs bad on *some* windows7 and *almost all* windows xp, after the `distance field` disabled, all windows7 works as excepted, but windows xp still does not. I tried openGL version, I also tried ANGLE which i think is the DirectX version, but later i just find out that Windows XP and ANGLE is not a supported combination. [1] Well give Mesa a try. It's easy, just drop in the opengl32.dll. You have to use that anyways to support remote desktop which invariably you find some of your users require. Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] terrible font rendering with QtQuick
On May 28, 2014 10:37 PM, bane yue bane...@gmail.com wrote: It finally works! thanks you, Ian. Now i know *how* to do it, but *don't know* why to do it this way, would you mind to tell me more about this, much appreciated. Regards Evince Moi Windows OpenGL drivers are notoriously bad, that's the reason ANGLE was created. With that llvmpipe Mesa library you aren't using the GPU directly, it's traditional Windows GDI calls. Ian ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest