Some terminology fixes.

This commit is contained in:
Pietro Gagliardi 2015-12-23 01:16:18 -05:00
parent 8d01b16f07
commit a88de722b3
1 changed files with 6 additions and 5 deletions

11
draw.go
View File

@ -501,11 +501,12 @@ func (c *DrawContext) Restore() {
// FontFamilies represents an enumerator over the font families
// available for use by package ui. A FontFamilies object behaves
// similarly to a []string, except that since family names are loaded
// on demand (depending on the backend), it is not an actual []string.
// You call ListFontFamilies to obtain a FontFamilies object, which
// should reflect the available fonts at the time of the call. Use
// NumFamilies to get the number of families, and Family to get the
// name of a given family by index. When finished, call Free.
// on demand (depending on the operating system), it is not an
// actual []string. You call ListFontFamilies to obtain a FontFamilies
// object, which should reflect the available fonts at the time of the
// call (TODO verify). Use NumFamilies to get the number of families,
// and Family to get the name of a given family by index. When
// finished, call Free.
//
// There is no guarantee that the list of families is sorted. You will
// need to do sorting yourself if you need it.