From 28acb79b82caa27b53a835453820a9cffbca1048 Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Tue, 24 May 2022 15:47:31 -0400 Subject: [PATCH] text: fix doc typos Signed-off-by: Chris Waldon --- text/text.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/text.go b/text/text.go index 20ab0476..7b555e64 100644 --- a/text/text.go +++ b/text/text.go @@ -83,11 +83,11 @@ func (c GlyphCluster) RuneWidth() fixed.Int26_6 { } type Layout struct { - // Glyphs are the actual font characters for the text. The are ordered + // Glyphs are the actual font characters for the text. They are ordered // from left to right regardless of the text direction of the underlying // text. Glyphs []Glyph - // Clusters is metadata about the shaped glyphs. It is mostly useful for + // Clusters are metadata about the shaped glyphs. They are mostly useful for // interactive text widgets like editors. The order of clusters is logical, // so the first cluster will describe the beginning of the text and may // refer to the final glyphs in the Glyphs field if the text is RTL.