summaryrefslogtreecommitdiff
path: root/pdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'pdf.go')
-rw-r--r--pdf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf.go b/pdf.go
index bfd2d71..69e2daf 100644
--- a/pdf.go
+++ b/pdf.go
@@ -80,7 +80,7 @@ func (p *Fpdf) AddPage(imgpath, hocrpath string) error {
continue
}
p.fpdf.SetXY(pxToPt(coords[0]), pxToPt(coords[1]))
- p.fpdf.CellFormat(pxToPt(coords[2]), pxToPt(coords[3]), html.UnescapeString(w.Text), "", 0, "T", false, 0, "")
+ p.fpdf.CellFormat(pxToPt(coords[2]), pxToPt(coords[3]), html.UnescapeString(w.Text) + " ", "", 0, "T", false, 0, "")
}
}
return p.fpdf.Error()