Skip to content

Commit

Permalink
Merge branch 'litecn-cokvr'
Browse files Browse the repository at this point in the history
  • Loading branch information
oneplus1000 committed Sep 2, 2024
2 parents 6f7ee36 + 1660967 commit 89d84c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gopdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -1280,11 +1280,11 @@ func (gp *GoPdf) MultiCellWithOption(rectangle *Rect, text string, opt CellOptio
x := gp.GetX()

// get lineHeight
text, err = gp.curr.FontISubset.AddChars(text)
itext, err := gp.curr.FontISubset.AddChars(text)
if err != nil {
return err
}
_, lineHeight, _, err := createContent(gp.curr.FontISubset, text, gp.curr.FontSize, gp.curr.CharSpacing, nil)
_, lineHeight, _, err := createContent(gp.curr.FontISubset, itext, gp.curr.FontSize, gp.curr.CharSpacing, nil)
if err != nil {
return err
}
Expand Down

0 comments on commit 89d84c6

Please sign in to comment.