clarify doc

This commit is contained in:
faiface 2017-05-09 16:31:09 +02:00
parent c5df68f8bb
commit 3035fcac9c
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ type Text struct {
}
// New creates a new Text capable of drawing runes contained in the provided rune sets, plus
// unicode.ReplacementChar using the provided font.Face.
// unicode.ReplacementChar using the provided font.Face. New automatically generates an Atlas for
// the Text.
//
// Do not destroy or close the font.Face after creating a Text. Although Text caches most of the
// stuff (pre-drawn glyphs, etc.), it still uses the face for a few things.