From 868220107b6fa7a5c7b2040d3d7ce8cb7b3e17ea Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 28 May 2021 12:14:46 +0200 Subject: [PATCH] - added fallback to the parenthesis glyphs for the braces. --- src/common/utility/utf8.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/utility/utf8.cpp b/src/common/utility/utf8.cpp index 2341d575c..b0b225ae5 100644 --- a/src/common/utility/utf8.cpp +++ b/src/common/utility/utf8.cpp @@ -354,6 +354,8 @@ int getAlternative(int code) default: return code; + case '{': return '('; + case '}': return ')'; case 0x17f: return 's'; // The 'long s' can be safely remapped to the regular variant, not that this gets used in any real text... case 0x218: return 0x15e; // Romanian S with comma below may get remapped to S with cedilla. case 0x219: return 0x15f;