diff --git a/kcms/fonts/package/contents/ui/main.qml b/kcms/fonts/package/contents/ui/main.qml --- a/kcms/fonts/package/contents/ui/main.qml +++ b/kcms/fonts/package/contents/ui/main.qml @@ -80,19 +80,26 @@ QtControls.ComboBox { id: antiAliasingComboBox Layout.preferredWidth: formLayout.maxImplicitWidth - Kirigami.FormData.label: i18n("Use anti-aliasing:") + Kirigami.FormData.label: i18n("Font smoothing:") model: [i18n("Enabled"), i18n("Vendor Default"), i18n("Disabled")] currentIndex: kcm.fontAASettings.antiAliasing onCurrentIndexChanged: kcm.fontAASettings.antiAliasing = antiAliasingComboBox.currentIndex + + hoverEnabled: true + QtControls.ToolTip { + text: i18n("Use anti-aliasing to smooth sharp edges for text") + visible: parent.hovered + delay: 1000 + } } QtControls.CheckBox { id: excludeCheckBox checked: kcm.fontAASettings.exclude onCheckedChanged: kcm.fontAASettings.exclude = checked; - text: i18n("Exclude range from anti-aliasing") + text: i18n("Don't smooth fonts within this range:") Layout.fillWidth: true enabled: antiAliasingComboBox.currentIndex == 0 } @@ -133,7 +140,7 @@ QtControls.ComboBox { id: subPixelCombo Layout.preferredWidth: formLayout.maxImplicitWidth - Kirigami.FormData.label: i18n("Sub-pixel rendering type:") + Kirigami.FormData.label: i18n("Sub-pixel rendering:") currentIndex: kcm.fontAASettings.subPixelCurrentIndex onCurrentIndexChanged: kcm.fontAASettings.subPixelCurrentIndex = currentIndex; model: kcm.fontAASettings.subPixelOptionsModel @@ -165,12 +172,19 @@ } } } + + hoverEnabled: true + QtControls.ToolTip { + text: i18n("Use sub-pixel rendering to improve anti-aliasing appearance when the ordering of the three pixel colors (red, green, and blue) in the current display is known.") + visible: parent.hovered + delay: 1000 + } } QtControls.ComboBox { id: hintingCombo Layout.preferredWidth: formLayout.maxImplicitWidth - Kirigami.FormData.label: i18n("Hinting style:") + Kirigami.FormData.label: i18n("Hinting:") currentIndex: kcm.fontAASettings.hintingCurrentIndex onCurrentTextChanged: kcm.fontAASettings.hintingCurrentIndex = currentIndex; model: kcm.fontAASettings.hintingOptionsModel @@ -202,6 +216,12 @@ } } } + + QtControls.ToolTip { + text: i18n("Type of sub-pixel rendering to use. Choose a style that corresponds to the order of your display's pixel grid. For example, choose RGB hinting if your display that has the pixels ordered red, green, blue (read left to right).") + visible: parent.hovered + delay: 1000 + } } RowLayout {