Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.4.0
Description
You can see this in the example below:
import QtQuick 2.0 import QtQuick.Window 2.0 import QtQuick.Controls 1.3 Window { id: window visible: true width: 600 height: 300 Text { font.pixelSize: pixelSizeSlider.value font.letterSpacing: letterSpacingSlider.value opacity: 0.5 text: !typeSwitch.checked ? "Hello" : "يتعلّقم" anchors.top: parent.top anchors.topMargin: 10 anchors.horizontalCenter: parent.horizontalCenter } Column { anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom Text { text: "Arabic" } Switch { id: typeSwitch } Text { text: "Pixel size" } Slider { id: pixelSizeSlider minimumValue: 30 maximumValue: 200 } Text { text: "Letter spacing" } Slider { id: letterSpacingSlider minimumValue: -30 maximumValue: 30 } } }
Perhaps this is unavoidable, but it would be nice if the opacity was applied to the text as a whole, instead of individual characters.
Attachments
Issue Links
- relates to
-
QTBUG-69301 Adding outline effect on Arabic text, word looks not correct and it looks outline coming between letters
-
- Closed
-