ref: 255cf429650e2fcbd2c8b8ac5e38f36d43f48f2e
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)
}