diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 21:46:38 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 21:46:38 +0200 |
commit | 47adc8c1e5c140c85615f0bf5858d85fe562e495 (patch) | |
tree | bd73572c476ccd34887e0f8e1317c33859761791 /text.go | |
parent | aed22d4815d3a11484e8b4fd20d82e0c79a55d80 (diff) |
Reduce line spacing a bit
Diffstat (limited to 'text.go')
-rw-r--r-- | text.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ func PrintStdin(c *bufio.Writer) { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { off = font.Print(c, scanner.Text(), off) - off.X += 100 + off.X += 96 off.Y = 0 } if err := scanner.Err(); err != nil { @@ -34,7 +34,7 @@ func (f Font) Print(c *bufio.Writer, s string, off Point) Point { gl, ok := f[ch] if ok { if off.Y+gl.W >= 4000 { - off.X += 100 + off.X += 96 off.Y = 0 } off.Offset(c) |