From aeb106ed21250b60fb16b54042596ee3b9c58ce4 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 18 Nov 2025 17:45:06 +0100 Subject: [PATCH 1/3] use google sans flex (#2509) --- dots/.config/fuzzel/fuzzel.ini | 2 +- .../ii/modules/common/Appearance.qml | 26 +++++++++++-------- sdata/deps-info.md | 3 --- .../illogical-impulse-fonts-themes/PKGBUILD | 3 +-- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dots/.config/fuzzel/fuzzel.ini b/dots/.config/fuzzel/fuzzel.ini index b6b5fe99a..73a2bfd78 100644 --- a/dots/.config/fuzzel/fuzzel.ini +++ b/dots/.config/fuzzel/fuzzel.ini @@ -1,5 +1,5 @@ include="~/.config/fuzzel/fuzzel_theme.ini" -font=Gabarito +font=Google Sans Flex:weight=medium terminal=kitty -1 prompt=">> " layer=overlay diff --git a/dots/.config/quickshell/ii/modules/common/Appearance.qml b/dots/.config/quickshell/ii/modules/common/Appearance.qml index f531ae15c..d49f98155 100644 --- a/dots/.config/quickshell/ii/modules/common/Appearance.qml +++ b/dots/.config/quickshell/ii/modules/common/Appearance.qml @@ -202,9 +202,9 @@ Singleton { font: QtObject { property QtObject family: QtObject { - property string main: "Roboto Flex" + property string main: "Google Sans Flex" property string numbers: "Rubik" - property string title: "Gabarito" + property string title: "Google Sans Flex" property string iconMaterial: "Material Symbols Rounded" property string iconNerd: "JetBrains Mono NF" property string monospace: "JetBrains Mono NF" @@ -213,15 +213,19 @@ Singleton { } property QtObject variableAxes: QtObject { // Roboto Flex is customized to feel geometric, unserious yet not overly kiddy + // property var main: ({ + // "YTUC": 716, // Uppercase height (Raised from 712 to be more distinguishable from lowercase) + // "YTFI": 716, // Figure (numbers) height (Lowered from 738 to match uppercase) + // "YTAS": 716, // Ascender height (Lowered from 750 to match uppercase) + // "YTLC": 490, // Lowercase height (Lowered from 514 to be more distinguishable from uppercase) + // "XTRA": 488, // Counter width (Raised from 468 to be less condensed, less serious) + // "wdth": 105, // Width (Space out a tiny bit for readability) + // "GRAD": 175, // Grade (Increased so the 6 and 9 don't look weak) + // "wght": 300, // Weight (Lowered to compensate for increased grade) + // }) property var main: ({ - "YTUC": 716, // Uppercase height (Raised from 712 to be more distinguishable from lowercase) - "YTFI": 716, // Figure (numbers) height (Lowered from 738 to match uppercase) - "YTAS": 716, // Ascender height (Lowered from 750 to match uppercase) - "YTLC": 490, // Lowercase height (Lowered from 514 to be more distinguishable from uppercase) - "XTRA": 488, // Counter width (Raised from 468 to be less condensed, less serious) - "wdth": 105, // Width (Space out a tiny bit for readability) - "GRAD": 175, // Grade (Increased so the 6 and 9 don't look weak) - "wght": 300, // Weight (Lowered to compensate for increased grade) + "wght": 450, + "wdth": 100, }) // Rubik simply needs regular weight to override that of the main font where necessary property var numbers: ({ @@ -236,7 +240,7 @@ Singleton { // "XTRA": 490, // Counter width (Raised from 468 to be less condensed, less serious) // "wdth": 110, // Width (Space out a tiny bit for readability) // "GRAD": 150, // Grade (Increased so the 6 and 9 don't look weak) - "wght": 900, // Weight (Lowered to compensate for increased grade) + "wght": 550, // Weight (Lowered to compensate for increased grade) }) } property QtObject pixelSize: QtObject { diff --git a/sdata/deps-info.md b/sdata/deps-info.md index a7e0f9f14..f4bc1e42d 100644 --- a/sdata/deps-info.md +++ b/sdata/deps-info.md @@ -73,9 +73,6 @@ This file contains information about the dependencies, currently it describes ab - Used in Quickshell and matugen config. - `starship` - Used in Fish config. -- `ttf-gabarito-git` - - Font name: `Gabarito` - - Used in fuzzel and Quickshell config. - `ttf-jetbrains-mono-nerd` - Font name: `JetBrains Mono NF`, `JetBrainsMono Nerd Font`. - Used in foot, kdeglobals, kitty, qt5ct, qt6ct and Quickshell config. diff --git a/sdata/dist-arch/illogical-impulse-fonts-themes/PKGBUILD b/sdata/dist-arch/illogical-impulse-fonts-themes/PKGBUILD index 30a7040ee..04b93fb4b 100644 --- a/sdata/dist-arch/illogical-impulse-fonts-themes/PKGBUILD +++ b/sdata/dist-arch/illogical-impulse-fonts-themes/PKGBUILD @@ -1,6 +1,6 @@ pkgname=illogical-impulse-fonts-themes pkgver=1.0 -pkgrel=3 +pkgrel=4 pkgdesc='Illogical Impulse Fonts and Theming Dependencies' arch=(any) license=(None) @@ -16,7 +16,6 @@ depends=( matugen-bin otf-space-grotesk starship - ttf-gabarito-git ttf-jetbrains-mono-nerd ttf-material-symbols-variable-git ttf-readex-pro From dfe11810fc7be4dd6ae7277b060345d7f0e4ce5e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:29:10 +0100 Subject: [PATCH 2/3] use google sans flex also for numbers --- .../ii/modules/common/Appearance.qml | 26 +++---------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/Appearance.qml b/dots/.config/quickshell/ii/modules/common/Appearance.qml index d49f98155..07151a4c7 100644 --- a/dots/.config/quickshell/ii/modules/common/Appearance.qml +++ b/dots/.config/quickshell/ii/modules/common/Appearance.qml @@ -203,7 +203,7 @@ Singleton { font: QtObject { property QtObject family: QtObject { property string main: "Google Sans Flex" - property string numbers: "Rubik" + property string numbers: "Google Sans Flex" property string title: "Google Sans Flex" property string iconMaterial: "Material Symbols Rounded" property string iconNerd: "JetBrains Mono NF" @@ -212,34 +212,14 @@ Singleton { property string expressive: "Space Grotesk" } property QtObject variableAxes: QtObject { - // Roboto Flex is customized to feel geometric, unserious yet not overly kiddy - // property var main: ({ - // "YTUC": 716, // Uppercase height (Raised from 712 to be more distinguishable from lowercase) - // "YTFI": 716, // Figure (numbers) height (Lowered from 738 to match uppercase) - // "YTAS": 716, // Ascender height (Lowered from 750 to match uppercase) - // "YTLC": 490, // Lowercase height (Lowered from 514 to be more distinguishable from uppercase) - // "XTRA": 488, // Counter width (Raised from 468 to be less condensed, less serious) - // "wdth": 105, // Width (Space out a tiny bit for readability) - // "GRAD": 175, // Grade (Increased so the 6 and 9 don't look weak) - // "wght": 300, // Weight (Lowered to compensate for increased grade) - // }) property var main: ({ "wght": 450, "wdth": 100, }) - // Rubik simply needs regular weight to override that of the main font where necessary property var numbers: ({ - "wght": 400, + "wght": 450, }) - // Slightly bold weight for title - property var title: ({ - // "YTUC": 716, // Uppercase height (Raised from 712 to be more distinguishable from lowercase) - // "YTFI": 716, // Figure (numbers) height (Lowered from 738 to match uppercase) - // "YTAS": 716, // Ascender height (Lowered from 750 to match uppercase) - // "YTLC": 490, // Lowercase height (Lowered from 514 to be more distinguishable from uppercase) - // "XTRA": 490, // Counter width (Raised from 468 to be less condensed, less serious) - // "wdth": 110, // Width (Space out a tiny bit for readability) - // "GRAD": 150, // Grade (Increased so the 6 and 9 don't look weak) + property var title: ({ // Slightly bold weight for title "wght": 550, // Weight (Lowered to compensate for increased grade) }) } From f3bfe8a374cc31bd91f633b275414d0c7036834d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:29:34 +0100 Subject: [PATCH 3/3] unfuck material symbols rendering --- .../quickshell/ii/modules/common/widgets/MaterialSymbol.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/MaterialSymbol.qml b/dots/.config/quickshell/ii/modules/common/widgets/MaterialSymbol.qml index a72d911ab..d117bb60b 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/MaterialSymbol.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/MaterialSymbol.qml @@ -6,9 +6,9 @@ StyledText { property real iconSize: Appearance?.font.pixelSize.small ?? 16 property real fill: 0 property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping - renderType: fill !== 0 ? Text.CurveRendering : Text.NativeRendering + renderType: Text.NativeRendering font { - hintingPreference: Font.PreferFullHinting + hintingPreference: Font.PreferNoHinting family: Appearance?.font.family.iconMaterial ?? "Material Symbols Rounded" pixelSize: iconSize weight: Font.Normal + (Font.DemiBold - Font.Normal) * truncatedFill