aboutsummaryrefslogtreecommitdiff
path: root/text.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-16 21:46:38 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-16 21:46:38 +0200
commit47adc8c1e5c140c85615f0bf5858d85fe562e495 (patch)
treebd73572c476ccd34887e0f8e1317c33859761791 /text.go
parentaed22d4815d3a11484e8b4fd20d82e0c79a55d80 (diff)
Reduce line spacing a bit
Diffstat (limited to 'text.go')
-rw-r--r--text.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.go b/text.go
index a46f10d..7b46e6f 100644
--- a/text.go
+++ b/text.go
@@ -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)