summaryrefslogtreecommitdiff
path: root/pdf/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/create.go')
-rw-r--r--pdf/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/create.go b/pdf/create.go
index 4cf17f9..05cc871 100644
--- a/pdf/create.go
+++ b/pdf/create.go
@@ -40,7 +40,7 @@ func (t Tree) Render() {
func line(pdf *gofpdf.Fpdf, format rules.Format, text string) {
pdf.SetFont(format.Font, format.Style, format.Size)
pdf.SetX(format.Left)
- pdf.MultiCell(format.Width, 0.19, tr(text), "", "aligned", false)
+ pdf.MultiCell(format.Width, 0.19, tr(text), "", format.Align, false)
}
func Create(file string, format rules.Set, contents lex.Screenplay) {