From af63449be98f1964b67981b2aedda0d2ea70fe6d Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 7 Apr 2020 12:02:54 +0100 Subject: gofmt --- pdf.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf.go') diff --git a/pdf.go b/pdf.go index a979807..a03aecc 100644 --- a/pdf.go +++ b/pdf.go @@ -22,7 +22,7 @@ import ( ) // TODO: maybe set this in Fpdf struct -const pageWidth = 5 // pageWidth in inches +const pageWidth = 5 // pageWidth in inches const scaleSmaller = 3 // amount the width and height are divided by // pxToPt converts a pixel value into a pt value (72 pts per inch) @@ -113,7 +113,7 @@ func (p *Fpdf) AddPage(imgpath, hocrpath string, smaller bool) 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() -- cgit v1.2.1-24-ge1ad