Skip to content

Commit

Permalink
BUG: Add support for GBK2K cmaps (#2385)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Jan 2, 2024
1 parent 6451225 commit b085798
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pypdf/_cmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b085798

Please sign in to comment.