diff options
author | Nick White <git@njw.name> | 2020-04-07 12:02:54 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-04-07 12:02:54 +0100 |
commit | af63449be98f1964b67981b2aedda0d2ea70fe6d (patch) | |
tree | 92e415fceb313113107fbe530b584b231940c901 /pdf.go | |
parent | 22200755d471e77d20f490ffe01ede884b5acfcb (diff) |
gofmt
Diffstat (limited to 'pdf.go')
-rw-r--r-- | pdf.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |