diff options
| -rw-r--r-- | draw.go | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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. |
