Skip to content

Commit

Permalink
Style: Correcting code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ssjkamei committed Oct 4, 2024
1 parent 707adc1 commit 85dbf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_cmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def build_char_map_from_dict(
Font sub-type, space_width criteria(50% of width), encoding, map character-map.
The font-dictionary itself is suitable for the curious.
"""
font_type = ft["/Subtype"].get_object()
font_type = cast(str, ft["/Subtype"].get_object())

space_code = 32
encoding, space_code = parse_encoding(ft, space_code)
Expand Down

0 comments on commit 85dbf2c

Please sign in to comment.