Skip to content

Commit b3eba76

Browse files
committed
Workaround to bold not working correctly in macOS
Fix #2
1 parent 9e1cbcd commit b3eba76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompter/Prompter.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ Flickable {
763763
font.hintingPreference: Font.PreferFullHinting
764764
font.kerning: true
765765
font.preferShaping: true
766-
renderType: font.pixelSize < 121 || Screen.devicePixelRatio !== 1.0 || root.forceQtTextRenderer ? Text.QtRendering : Text.NativeRendering
766+
renderType: (Qt.platform.os==="ios" || Qt.platform.os==="osx") ? Text.NativeRendering : (font.pixelSize < 121 || Screen.devicePixelRatio !== 1.0 || root.forceQtTextRenderer ? Text.QtRendering : Text.NativeRendering)
767767
FontLoader {
768768
id: westernSeriousSansfFont
769769
source: "../fonts/DejaVuSans.ttf"

0 commit comments

Comments
 (0)