Skip to content

Commit

Permalink
Fix: restored textRenderer and officially added Windows to the non-na…
Browse files Browse the repository at this point in the history
…tive text rendering list.
  • Loading branch information
Javier O. Cordero Pérez committed Aug 22, 2021
1 parent 5dfb169 commit aa598d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/kirigami_ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Kirigami.ApplicationWindow {
//property int prompterVisibility: Kirigami.ApplicationWindow.Maximized
property double __opacity: 1
property int __iDefault: 3
property var textRenderer: [/*"windows", "winrt", */"qnx", "wasm"].indexOf(Qt.platform.os)!==-1 ? Text.QtRendering : Text.NativeRendering
property var textRenderer: ["windows", "winrt", "qnx", "wasm"].indexOf(Qt.platform.os)===-1 ? Text.NativeRendering : Text.QtRendering

title: prompterPage.document.fileName + (prompterPage.document.modified?"*":"") + " - " + aboutData.displayName
width: 1200 // Set to 1200 to fit both 1280 4:3 and 1200 height monitors. Keep at or bellow 1024 and at or above 960, for best usability with common 4:3 resolutions
Expand Down
2 changes: 1 addition & 1 deletion src/prompter/Prompter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Flickable {
font.hintingPreference: Font.PreferFullHinting
font.kerning: true
font.preferShaping: true
//renderType: textRenderer
renderType: textRenderer

//Different styles have different padding and background
//decorations, but since this editor must resemble the
Expand Down

0 comments on commit aa598d6

Please sign in to comment.