Skip to content

Commit

Permalink
Return caret to the beginning of the line after ThematicBreak
Browse files Browse the repository at this point in the history
  • Loading branch information
raykov committed Aug 28, 2021
1 parent 94d89b8 commit 55a4edd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions document.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (d *Document) ThematicBreak() {

d.PDF.SetY(d.PDF.GetY() + h)
d.PDF.CellFormat(w, h, "", "T", 0, "", true, 0, "")
d.PDF.Ln(-1)
}

// WriteImage draw an image in PDF
Expand Down
Binary file modified example/example.pdf
Binary file not shown.

0 comments on commit 55a4edd

Please sign in to comment.