fix: find a better solution on variableAxes

This commit is contained in:
vaguesyntax
2025-11-28 23:48:06 +03:00
parent fd209851d9
commit 21f2a9c65d
2 changed files with 2 additions and 1 deletions
@@ -16,7 +16,7 @@ Text {
hintingPreference: Font.PreferDefaultHinting
family: defaultFont
pixelSize: Appearance?.font.pixelSize.small ?? 15
//variableAxes: shouldUseNumberFont ? ({}) : Appearance.font.variableAxes.main // Disabled for now because it causes some fonts to not display their weight properly
variableAxes: shouldUseNumberFont ? ({}) : Appearance.font.variableAxes.main
}
color: Appearance?.m3colors.m3onBackground ?? "black"
linkColor: Appearance?.m3colors.m3primary
@@ -10,6 +10,7 @@ StyledText {
family: Appearance.font.family.expressive
pixelSize: 20
weight: 350
variableAxes: ({})
}
color: root.colText
style: Text.Raised