From e468a4dcf94c492cc53a4da485465447ebfb8254 Mon Sep 17 00:00:00 2001 From: Ryo Kamei <44630192+ssjkamei@users.noreply.github.com> Date: Sun, 6 Oct 2024 13:14:48 +0900 Subject: [PATCH] Update pypdf/_cmap.py Co-authored-by: Stefan <96178532+stefan6419846@users.noreply.github.com> --- pypdf/_cmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypdf/_cmap.py b/pypdf/_cmap.py index 1d16100e3..7ddb6d2f3 100644 --- a/pypdf/_cmap.py +++ b/pypdf/_cmap.py @@ -126,7 +126,7 @@ def get_encoding( encoding = _parse_encoding(ft) map_dict, int_entry = _parse_to_unicode(ft) - # apply rule from PDF ref 1.7 §5.9.1, 1st bullet : + # Apply rule from PDF ref 1.7 §5.9.1, 1st bullet: # if cmap not empty encoding should be discarded # (here transformed into identity for those characters) # if encoding is an str it is expected to be a identity translation