QT5.9 Text is not smooth
-
Hi
I am using QT 5.9 in my project. Prior to that I was using QT5.5
Below is difference I am seeing in QT 5.5 and QT5.9
QT5.5
QT5.9
It seems text is not smooth in QT 5.9
Please suggest me if I am missing something.
Thanks.
-
Hi
Is the on the same PC ? -
Yes @mrjj
-
@Akshay-Bhavsar
Hi
ok.
as far as i know, there is no flag to change font smoothing.
The 5.9 does look smoothed also but not as much as in 5.5There does seems to be something changed
https://lists.qt-project.org/pipermail/interest/2017-December/028911.html
but if that applies to your platform i dont know. -
Can someone please suggest any possible solution?
-
@Akshay-Bhavsar What are you using to display the text?
-
I am using QML and QT desktop for display
-
@Akshay-Bhavsar said in QT5.9 Text is not smooth:
I am using QML and QT desktop for display
I meant, which Type of object/class are you using to display the text?
If it is the Text type, see if the
renderType
andrenderTypeQuality
settings can help: https://doc.qt.io/qt-6/qml-qtquick-text.html#renderType-propNote: Qt 5.9 reached end-of-life in May 2020. Since you are upgrading from Qt 5.5, I strongly suggest you upgrade to at least Qt 5.12 LTS
-
I am using Text Type
I have set renderType: Text.NativeRendering
renderTypeQuality is not available in this version
antialiasing : true& I am not allowed to change QT version.
-
@Akshay-Bhavsar said in QT5.9 Text is not smooth:
renderTypeQuality is not available in this version
Ah sorry... I was looking at the Qt 6 documentation.
Does changing
renderType
change the look?I am not allowed to change QT version.
That's a bit unfortunate
-
renderType doesnt change the look.
regards,
Akshay -
@Akshay-Bhavsar I hope you find a solution