summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2018-04-03 11:29:33 -0400
committerKurt <kurt.w.jung@gmail.com>2018-04-03 11:29:33 -0400
commitbc3ff903af0b59e0a5598ced64dfd8713d7959e2 (patch)
tree34fbacbfeb02e3c1cd777e03a0306a8482085e7b
parent5a1fdf3e8cbe59581611245eb3341c7129beb1e5 (diff)
Correct label alignment
-rw-r--r--grid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.go b/grid.go
index d2de8cd..2ce3e9e 100644
--- a/grid.go
+++ b/grid.go
@@ -266,7 +266,7 @@ func (g GridType) Grid(pdf *Fpdf) {
var strOfs, strWd, tp, bt, lf, rt, drawX, drawY float64
textSz = pdf.PointToUnitConvert(g.TextSize)
- halfTextSz = textSz / 4
+ halfTextSz = textSz / 2
strOfs = pdf.GetStringWidth("I")
xLen = len(g.xTicks)