Skip to content

Commit

Permalink
Issue pdfminer#720
Browse files Browse the repository at this point in the history
resolve1 when getting the default width.
  • Loading branch information
gosiafilipek authored Jun 22, 2022
1 parent 86e3487 commit 5b2ab61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdfminer/pdffont.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ def __init__(
self.default_width = num_value(descriptor.get("MissingWidth", 0))
else:
self.default_width = default_width
self.default_width = resolve1(self.default_width)
self.leading = num_value(descriptor.get("Leading", 0))
self.bbox = cast(
Rect, list_value(resolve_all(descriptor.get("FontBBox", (0, 0, 0, 0))))
Expand Down

0 comments on commit 5b2ab61

Please sign in to comment.