(paths ...string)
| 216 | } |
| 217 | |
| 218 | func (fl *FontLib) AddFontPaths(paths ...string) bool { |
| 219 | fl.Init() |
| 220 | fl.FontPaths = append(fl.FontPaths, paths...) |
| 221 | return fl.UpdateFontsAvail() |
| 222 | } |
| 223 | |
| 224 | // UpdateFontsAvail scans for all fonts we can use on the FontPaths |
| 225 | func (fl *FontLib) UpdateFontsAvail() bool { |