From ba362c53025b6f58b25231dfae6fb50d5a11299b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 18:20:52 +0200 Subject: docs: glyphs render with Theme.iconFamily, pinned to Inconsolata Fontconfig falls back per codepoint, so the same codepoint can be a different glyph in a different Nerd Font: the ethernet codepoint rendered as a gamepad. The theme now pins the family and the note says to check the font cmap for a new glyph. --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 878de1d..cd9de42 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -187,6 +187,15 @@ keeps the palette parsed rather than imported; quickshell follows the link and resolves the singleton with no qmldir and no consumer change. Editing any component's `Theme.qml` edits all three. Do not replace a link with a copy. +Glyphs are Nerd Font private-use codepoints and render with `Theme.iconFamily`, +pinned to Inconsolata Nerd Font, not `Theme.fontFamily` ("Noto Sans" has no +glyphs). Without the pin, fontconfig falls back per codepoint and the same +codepoint can be a different glyph in a different Nerd Font: the ethernet +codepoint `\uf6ff` rendered as a gamepad (`gamepad-variant` in JetBrains Mono +Nerd Font, absent from Inconsolata, whose ethernet is `\uef44`). A new glyph +must exist in Inconsolata Nerd Font and mean what it says; check the font cmap +rather than trusting the codepoint. + ## Blur Translucency is set in QML; the frosting is the compositor's. Hyprland blurs a -- cgit v1.2.3