Text Style style: Text.Outline in Arabic
-
Hello
I am trying to add outline effect on a text
in english all is good, but when i add Arabic text, word looks not correct
and it looks outline coming between letters
here is example link https://ibb.co/kiNAMdany ideas how to solve it
Thanks
-
Hi,
You should share the code you are using. If possible a complete example that would allow other people to test it.
The version of Qt as well as platform you are using would be useful.
-
On what OS ?
-
It is not impossible that's it's a bug in the text rendering engine. I see that you have reported it and that's good :)
As a quick workaround you could add another
Text
element on top of the original one to hide the outline in the characters:Text { text: qsTr("ابدا اللعب") font.pixelSize: 140 color: "white" style: Text.Outline Text { text: parent.text font: parent.font color: parent.color } }
-
It is not impossible that's it's a bug in the text rendering engine. I see that you have reported it and that's good :)
As a quick workaround you could add another
Text
element on top of the original one to hide the outline in the characters:Text { text: qsTr("ابدا اللعب") font.pixelSize: 140 color: "white" style: Text.Outline Text { text: parent.text font: parent.font color: parent.color } }