From b085798c329770e1ce23c89366f751030a1c5211 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:06:11 +0100 Subject: [PATCH] BUG: Add support for GBK2K cmaps (#2385) --- pypdf/_cmap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pypdf/_cmap.py b/pypdf/_cmap.py index f221d2d23..6efd028e7 100644 --- a/pypdf/_cmap.py +++ b/pypdf/_cmap.py @@ -121,6 +121,8 @@ def build_char_map_from_dict( "/GBpc-EUC-V": "gb2312", # TBC "/GBK-EUC-H": "gbk", # TBC "/GBK-EUC-V": "gbk", # TBC + "/GBK2K-H": "gb18030", + "/GBK2K-V": "gb18030", # UCS2 in code }