diff --git a/text/v2/layout.go b/text/v2/layout.go index fe874e01a..32b58b736 100644 --- a/text/v2/layout.go +++ b/text/v2/layout.go @@ -67,6 +67,8 @@ type LayoutOptions struct { // face is the font for text rendering. // // The '\n' newline character puts the following text on the next line. +// The next line starts at the position shifted by LayoutOptions.LineSpacing. +// By default, LayoutOptions.LineSpacing is 0, so you need to specify LineSpacing explicitly if you want to put multiple lines. // // Glyphs used for rendering are cached in least-recently-used way. // Then old glyphs might be evicted from the cache.