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

This commit is contained in:
xiaoqidun committed 2026-07-09 17:12:48 +08:00
1 parent 48aabc77ab
commit f4291aaa74
3 files changed
+22 -18

No files matched your search

+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)
}