mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
1 parent
98d9effc8c
commit
affc84459e
9 files changed
+103
-37
No files matched your search
@@ -44,7 +44,7 @@ func (r *Renderer) loadFont(fontID string) *canvas.FontFamily {
|
||||
return nil
|
||||
}
|
||||
if of == nil {
|
||||
of = &Font{ID: fontID, FontName: "default"}
|
||||
of = &Font{ID: fontID, FontName: "OFDGoFallback"}
|
||||
}
|
||||
fontData := resolved.Data
|
||||
fontStyle := canvasFontStyle(of)
|
||||
|
||||
Reference in new issue
Block a user