From 8352678f55fcf6fd80ebf3a9d00838b0d1fe373a Mon Sep 17 00:00:00 2001 From: trajnisz Date: Thu, 18 Nov 2021 21:14:24 +0100 Subject: [PATCH] Expanded UNICODE range for Latin characters from 255 to 383 (3rd block 'Latin Extended-A' - European characters) --- src/graphic/helper/parseText.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphic/helper/parseText.ts b/src/graphic/helper/parseText.ts index a928552d6..a69896d79 100644 --- a/src/graphic/helper/parseText.ts +++ b/src/graphic/helper/parseText.ts @@ -578,7 +578,7 @@ function pushTokens( function isLatin(ch: string) { let code = ch.charCodeAt(0); - return code >= 0x21 && code <= 0xFF; + return code >= 0x21 && code <= 0x17F; } const breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {