feat(字体加载): 优化字体加载
build.yaml / build (push) Successful in 34s

This commit is contained in:
2026-07-09 17:12:48 +08:00
parent 48aabc77ab
commit f4291aaa74
3 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ func (r *Renderer) matchFontFiles(dir string, patterns []string, bold, italic bo
appendFontFileMatch(&matches, index, matcher.pattern, file.name, rank, bold, italic)
}
}
sortFontFileMatches(matches, bold, italic)
sortFontFileMatches(matches)
return fontFileMatchNames(matches)
}