shithub: mycel

ref: 7e48ef89b6b053c7566d90312ae7f758a5fba147
dir: /style/fonts_plan9.go/

View raw version
// +build plan9

package style

import (
	"fmt"
	"math"
)

func initFontserver() {}

func (cs Map) FontFilename() string {
	fontSize := matchClosestFontSize(cs.FontSize(), []int{5,6,7,8,9,10,12,14,16,18,20,24,28,32})
	return fmt.Sprintf("/lib/font/bit/lucida/unicode.%v.font", fontSize)
}