refactor: add example for chinese

This commit is contained in:
vicanso 2022-06-18 08:55:46 +08:00
parent 38c4978e44
commit 5db24de7ed
5 changed files with 125 additions and 1 deletions

View file

@ -91,6 +91,9 @@ func (a *axisPainter) Render() (Box, error) {
}
font := opt.Font
if font == nil {
font = a.p.font
}
if font == nil {
font = theme.GetFont()
}