mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
1 parent
04058ce76a
commit
a5f51294eb
9 files changed
+50
-13
No files matched your search
@@ -32,7 +32,7 @@ func (r *Renderer) loadFont(fontID string) *canvas.FontFamily {
|
||||
r.renderError = err
|
||||
return nil
|
||||
}
|
||||
of := r.Reader.fontCache[fontID]
|
||||
of := r.Reader.fontDefinition(fontID)
|
||||
if len(resolved.Data) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user