Correct QT Bug URL for font rendering hack
This makes it clear which version of Qt (5.14) Frameworks has to be able to depend on before we can remove the font rendering hack.
This commit is contained in:
parent
c0e721429c
commit
1a2e4023b0
@ -29,7 +29,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
Text {
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
font.pointSize: 22
|
||||
|
||||
|
@ -44,7 +44,7 @@ Text {
|
||||
activeFocusOnTab: false
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
font.capitalization: theme.defaultFont.capitalization
|
||||
|
@ -98,7 +98,7 @@ Item {
|
||||
text: dualButton.text
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
anchors {
|
||||
top: parent.top
|
||||
|
@ -141,7 +141,7 @@ T.ComboBox {
|
||||
validator: control.validator
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
color: PlasmaCore.ColorScope.textColor
|
||||
selectionColor: Kirigami.Theme.highlightColor
|
||||
|
@ -30,7 +30,7 @@ T.Label {
|
||||
activeFocusOnTab: false
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
//font data is the system one by default
|
||||
|
@ -47,7 +47,7 @@ T.TextArea {
|
||||
hoverEnabled: !Kirigami.Settings.tabletMode
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
selectByMouse: !Kirigami.Settings.tabletMode
|
||||
|
@ -67,7 +67,7 @@ T.TextField {
|
||||
hoverEnabled: !Kirigami.Settings.tabletMode
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
selectByMouse: !Kirigami.Settings.tabletMode
|
||||
|
@ -42,7 +42,7 @@ QtQuickControlStyle.SpinBoxStyle {
|
||||
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
PlasmaCore.Svg {
|
||||
|
@ -43,7 +43,7 @@ QtQuickControlStyle.TextAreaStyle {
|
||||
selectedTextColor: control.backgroundVisible ? theme.viewHighlightedTextColor : PlasmaCore.ColorScope.highlightedTextColor
|
||||
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
// https://bugreports.qt.io/browse/QTBUG-70481
|
||||
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
|
||||
frame: PlasmaCore.FrameSvgItem {
|
||||
|
@ -42,7 +42,7 @@ QtQuickControlStyle.TextFieldStyle {
|
||||
* Using Qt rendering, the dots will look more aligned and equally spaced.
|
||||
* Also if we are on mobile, make sure we use QtRendering
|
||||
* Finally, use QtRendering if we're using a non-integer scale factor to work around
|
||||
* https://bugreports.qt.io/browse/QTBUG-67007
|
||||
* https://bugreports.qt.io/browse/QTBUG-70481
|
||||
*
|
||||
* color with an alpha is also broken. https://bugreports.qt.io/browse/QTBUG-70138
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user