fix(qbz-qt): honor system font with script fallback

cx
This commit is contained in:
vicrodh committed 2026-08-25 20:15:38 -06:00
1 parent 10869f76a7
commit 82953c72da
21 files changed
+256 -67

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ Item {
FontLoader { id: fNoto; source: view.fontIndex === 3 ? view.fontDir + "NotoSans-VariableFont_wdth,wght.ttf" : "" }
FontLoader { id: fSource; source: view.fontIndex === 4 ? view.fontDir + "SourceSans3-VariableFont_wght.ttf" : "" }
// "" = the window default (Inter) = Slint's "System" option. A family
// "" = the real Qt/system default = Slint's "System" option. A family
// that has not finished loading falls back to the default rather than
// rendering in a wrong face.
readonly property string fontFamily: {