From 155914f0043b02dce0bfa07d7b991e2a77269b00 Mon Sep 17 00:00:00 2001 From: Antigravity Agent Date: Thu, 22 Jan 2026 17:48:44 -0500 Subject: [PATCH] Fix Em/En dash rendering by falling back to hyphen --- lib/EpdFont/CustomEpdFont.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/EpdFont/CustomEpdFont.cpp b/lib/EpdFont/CustomEpdFont.cpp index 7c831662..9e3aa133 100644 --- a/lib/EpdFont/CustomEpdFont.cpp +++ b/lib/EpdFont/CustomEpdFont.cpp @@ -237,6 +237,10 @@ const EpdGlyph* CustomEpdFont::getGlyph(uint32_t cp, const EpdFontStyles::Style currentCp = 32; // Space triedFallback = true; continue; + } else if (currentCp == 0x2013 || currentCp == 0x2014) { // En/Em dash + currentCp = 0x002D; // Hyphen-Minus + triedFallback = true; + continue; } }