feat(字体渲染): 修复字体引用与渲染
build.yaml / build (push) Successful in 50s

This commit is contained in:
xiaoqidun committed 2026-10-10 15:52:36 +08:00
1 parent 04058ce76a
commit a5f51294eb
9 files changed
+50 -13

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ func (r *Reader) MatchFontFiles(files []string, ids ...string) ([]string, error)
return nil, err
}
for _, id := range ids {
if r.fontCache[id] == nil {
if r.fontDefinition(id) == nil {
fonts = append(fonts, Font{ID: id})
}
}