From 0e1b5cd7bbea29a504aea0a52005bed469d5474b Mon Sep 17 00:00:00 2001 From: jizou <815371297@qq.com> Date: Tue, 3 Mar 2026 17:04:59 +0800 Subject: [PATCH] Fix missing Chinese font name variants (SimFang and XiaoBiaoSong) in GBK encoding detection --- src/core/evaluator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/evaluator.js b/src/core/evaluator.js index f6da4a257..7626d9922 100644 --- a/src/core/evaluator.js +++ b/src/core/evaluator.js @@ -3723,6 +3723,8 @@ class PartialEvaluator { "\xB7\xC2\xCB\xCE_GB2312", // SimFang "\xC1\xA5\xCA\xE9", // SimLi "\xD0\xC2\xCB\xCE", // SimSun + "\xB7\xC2\xCB\xCE\xCC\xE5", // SimFang variant + "\xD0\xA1\xB1\xEA\xCB\xCE", // XiaoBiaoSong ]; // Check for common Chinese font names and their GBK-encoded equivalents