From 7e079de57272e34e9aa2539575ac9d2a1dee2d3b Mon Sep 17 00:00:00 2001 From: felixzsh Date: Tue, 11 Aug 2026 15:41:22 -0500 Subject: [PATCH] Fix the bar glyph: \uF030C parsed as \uF030 + "C" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JS \u takes exactly 4 hex digits, so \uF030C rendered U+F030 (fa-camera in the Nerd Font's Font Awesome range) followed by a literal C — a camera with a trailing c, exactly what was on the bar. U+F030C is in PUA-A and needs a UTF-16 surrogate pair: \uDB80\uDF0C. Also correct the comment name (it is md-keyboard, not md-keyboard_outline). --- Panel.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Panel.qml b/Panel.qml index 3c24dcf..94eabea 100644 --- a/Panel.qml +++ b/Panel.qml @@ -114,7 +114,7 @@ Panel { id: button anchors.fill: parent bar: root.bar - text: "\uF030C" // nf-md-keyboard_outline + text: "\uDB80\uDF0C" // md-keyboard (U+F030C, PUA-A: \u takes 4 hex digits, so \uF030C would parse as \uF030 + "C" = camera + C) onPressed: function(b) { if (b === Qt.RightButton) return root.toggle()