ref: cd5e12e5de972e95eb3a7170325751fc9c17c01f
dir: /style/fonts_unix.go/
// +build darwin freebsd netbsd openbsd linux
package style
import (
"fmt"
"math"
)
func (cs Map) FontFilename() string {
pref := cs.preferedFontName([]string{"HelveticaNeue", "Helvetica"})
fontSize := 2 * /*dui.Scale(*/int(math.RoundToEven(cs.FontSize()))/*)*/
return fmt.Sprintf("/mnt/font/"+pref+"%va/font", fontSize)
}