ref: 910bfe3e9d2177b8efde268281233d5d1ed333cd
parent: ee3bf06b2d047bea9a3c06253f1b652f578afa6c
author: Philip Silva <philip.silva@protonmail.com>
date: Fri Apr 23 08:33:33 EDT 2021
Use font that maps more characters
--- a/style/fonts_plan9.go
+++ b/style/fonts_plan9.go
@@ -9,6 +9,6 @@
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)
+ fontSize := matchClosestFontSize(cs.FontSize(), []int{6,7,8,10,13})
+ return fmt.Sprintf("/lib/font/bit/lucidasans/unicode.%v.font", fontSize)
}