From 424a7289882b9116933d44c9d666ec7ec44bd2d5 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 21 Jun 2020 21:14:05 +0200 Subject: [PATCH] text: fix typo Signed-off-by: Elias Naur --- text/shaper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/shaper.go b/text/shaper.go index 87b04b91..af2e263c 100644 --- a/text/shaper.go +++ b/text/shaper.go @@ -19,7 +19,7 @@ type Shaper interface { // Shape a line of text and return a clipping operation for its outline. Shape(font Font, size fixed.Int26_6, layout []Glyph) op.CallOp - // LayoutString is like Layout, but for strings.. + // LayoutString is like Layout, but for strings. LayoutString(font Font, size fixed.Int26_6, maxWidth int, str string) []Line // ShapeString is like Shape for lines previously laid out by LayoutString. ShapeString(font Font, size fixed.Int26_6, str string, layout []Glyph) op.CallOp