mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
text: fix doc typos
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
+2
-2
@@ -83,11 +83,11 @@ func (c GlyphCluster) RuneWidth() fixed.Int26_6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Layout struct {
|
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
|
// from left to right regardless of the text direction of the underlying
|
||||||
// text.
|
// text.
|
||||||
Glyphs []Glyph
|
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,
|
// interactive text widgets like editors. The order of clusters is logical,
|
||||||
// so the first cluster will describe the beginning of the text and may
|
// 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.
|
// refer to the final glyphs in the Glyphs field if the text is RTL.
|
||||||
|
|||||||
Reference in New Issue
Block a user