aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-26 01:25:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-26 01:25:48 +0200
commitb163a32544893e91fd0613a49ed09b289e833cf0 (patch)
tree89141ca9c32db16407c757b10be1e041e7283b06
parent9610fd4eb5c96b29ecea59e28d5043e5ef4219ea (diff)
Remove auto Curve
-rw-r--r--text.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/text.go b/text.go
index ff21e18..c29e222 100644
--- a/text.go
+++ b/text.go
@@ -37,11 +37,8 @@ func (f Font) putchar(c *bufio.Writer, s string, scale Unit, off *Point) {
}
off.Offset(c)
for _, p := range gl.S {
- if scale > 10 {
- p.Scale(scale).Curve(c, 0)
- } else {
- p.Scale(scale).Line(c)
- }
+ p.Scale(scale).Line(c)
+ //p.Scale(scale).Curve(c, 0)
}
off.Y += gl.W * scale
} else if ch == '\t' {