Skip to content

Commit 0e1b5cd

Browse files
committed
Fix missing Chinese font name variants (SimFang and XiaoBiaoSong) in GBK encoding detection
1 parent d859d78 commit 0e1b5cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/evaluator.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3723,6 +3723,8 @@ class PartialEvaluator {
37233723
"\xB7\xC2\xCB\xCE_GB2312", // SimFang
37243724
"\xC1\xA5\xCA\xE9", // SimLi
37253725
"\xD0\xC2\xCB\xCE", // SimSun
3726+
"\xB7\xC2\xCB\xCE\xCC\xE5", // SimFang variant
3727+
"\xD0\xA1\xB1\xEA\xCB\xCE", // XiaoBiaoSong
37263728
];
37273729

37283730
// Check for common Chinese font names and their GBK-encoded equivalents

0 commit comments

Comments
 (0)