Skip to content

Commit

Permalink
Update docs/user/extract-text.md
Browse files Browse the repository at this point in the history
Added by @stefan6419846

Co-authored-by: Stefan <[email protected]>
  • Loading branch information
etern4l-white and stefan6419846 authored Feb 1, 2024
1 parent 9b58fc1 commit bcf5d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/extract-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def visitor_svg_rect(op, args, cm, tm):
dwg.add(dwg.rect((x, y), (w, h), stroke="red", fill_opacity=0.05))


def visitor_svg_text(text, cm, tm, fontDict, fontSize):
def visitor_svg_text(text, cm, tm, font_dict, font_size):
(x, y) = (tm[4], tm[5])
dwg.add(dwg.text(text, insert=(x, y), fill="blue"))

Expand Down

0 comments on commit bcf5d33

Please sign in to comment.