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; } }