summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)