From 299cd762de30b5ae162cf599e929b61752645077 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 18:19:36 +0200 Subject: feat(desktop): pin glyphs to Inconsolata Nerd Font Glyphs are Nerd Font private-use codepoints, and relying on per-codepoint fontconfig fallback from Noto Sans let the same codepoint resolve to a different glyph in a different Nerd Font. A Theme.iconFamily now names the render family once, and every glyph Text uses it, while fontFamily stays Noto Sans for words and labels. The ethernet glyph moves from \uf6ff to \uef44, the fa-ethernet codepoint present in Inconsolata. --- desktop/modules/sound/Osd.qml | 4 ++-- desktop/modules/sound/SoundPage.qml | 4 ++-- desktop/modules/sound/TransportButton.qml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'desktop/modules/sound') diff --git a/desktop/modules/sound/Osd.qml b/desktop/modules/sound/Osd.qml index 677d211..424b9c3 100644 --- a/desktop/modules/sound/Osd.qml +++ b/desktop/modules/sound/Osd.qml @@ -112,7 +112,7 @@ Scope { anchors.verticalCenter: parent.verticalCenter width: 30 horizontalAlignment: Text.AlignHCenter - font.family: Theme.fontFamily + font.family: Theme.iconFamily font.pixelSize: 24 color: win.muted ? Theme.red : Theme.accent text: { @@ -200,7 +200,7 @@ Scope { anchors.centerIn: parent visible: Player.artUrl === "" || parent.children[0].status !== Image.Ready text: "" - font { family: Theme.fontFamily; pixelSize: 20 } + font { family: Theme.iconFamily; pixelSize: 20 } color: Theme.overlay } } diff --git a/desktop/modules/sound/SoundPage.qml b/desktop/modules/sound/SoundPage.qml index 7a757c9..31f9e7c 100644 --- a/desktop/modules/sound/SoundPage.qml +++ b/desktop/modules/sound/SoundPage.qml @@ -79,7 +79,7 @@ Column { Text { anchors.verticalCenter: parent.verticalCenter text: page.stateIcon(audio, modelData.label === "Input") - font { family: Theme.fontFamily; pixelSize: Theme.fontSize } + font { family: Theme.iconFamily; pixelSize: Theme.fontSize } color: audio?.muted ? Theme.red : Theme.accent } @@ -120,7 +120,7 @@ Column { Text { id: chevron text: section.expanded ? "\uf077" : "\uf078" - font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } + font { family: Theme.iconFamily; pixelSize: Theme.fontSize - 4 } color: Theme.overlay } } diff --git a/desktop/modules/sound/TransportButton.qml b/desktop/modules/sound/TransportButton.qml index 2c1f498..b6dd53f 100644 --- a/desktop/modules/sound/TransportButton.qml +++ b/desktop/modules/sound/TransportButton.qml @@ -25,7 +25,7 @@ Rectangle { Text { anchors.centerIn: parent text: btn.glyph - font { family: Theme.fontFamily; pixelSize: 14 } + font { family: Theme.iconFamily; pixelSize: 14 } color: Theme.text } -- cgit v1.2.3