Unsolved 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.
-
Hi
I am using QT creator 4.6.2
qt kit 5.11.1even it was same problem in all older versions
and this is the simple code
Text { text: qsTr("ابدا اللعب") style: Text.Outline }
-
On what OS ?
-
I tested it on iOS,Android and MacOS
-
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 } }
-
@GrecKo said in Text Style style: Text.Outline in Arabic:
Text {
text: parent.text
font: parent.font
color: parent.color
}Perfect! thats a great solution
yes, i reported it, its annoying issueThanks again for helping