mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
1 parent
04058ce76a
commit
a5f51294eb
9 files changed
+50
-13
No files matched your search
+1
-1
@@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user