shithub: mycel

ref: 96375d3675de6ca7e7cc4d3a841d0c6a61cd7d73
dir: /style/fonts_plan9.go/

View raw version
// +build plan9

package style

import (
	"fmt"
)

func initFontserver() {}

func (cs Map) FontFilename() string {
	fontSize := matchClosestFontSize(cs.FontSize(), []int{6,7,8,10,13})
	return fmt.Sprintf("/lib/font/bit/lucidasans/unicode.%v.font", fontSize)
}