Skip to content

Commit 6ec65e9

Browse files
committed
Fixed error in font information determination
1 parent 6a333f5 commit 6ec65e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypdfocr/pypdfocr_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,5 +354,5 @@ def _get_font_spec(self, tag):
354354
fontname, fontsize = fontspec
355355
except Exception:
356356
fontname = ""
357-
fontsize = 8
357+
fontsize = "8"
358358
return (fontname, self._atoi(fontsize))

0 commit comments

Comments
 (0)