diff options
author | Kurt <kurt.w.jung@gmail.com> | 2019-07-20 09:32:52 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2019-07-20 09:32:52 -0400 |
commit | d515bd8e272ed758b203650b31ad6e83e84a0f3e (patch) | |
tree | 4bfb3e749464121719fda1169dbe8485e821758a | |
parent | 4c5c3288c806b7d607796adfe13d676714796954 (diff) | |
parent | d0f2d2e94a89ab84c0c647ebb0873f43593d89fd (diff) |
Merge branch 'master' of https://github.com/seletskiy/gofpdf into seletskiy-master
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2829,7 +2829,9 @@ func (f *Fpdf) WriteAligned(width, lineHeight float64, textStr, alignStr string) f.Write(lineHeight, lineStr) f.SetLeftMargin(lMargin) default: + f.SetRightMargin(pageWidth - lMargin - width) f.Write(lineHeight, lineStr) + f.SetRightMargin(rMargin) } } } |