mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
4e651619f8
commit
23849aee86
8 files changed
+116
-52
No files matched your search
@@ -71,6 +71,7 @@ func NewRenderer(reader *Reader, opts ...RendererOption) *Renderer {
|
||||
DrawParams: reader.drawParamCache,
|
||||
CompositeGraphicUnits: reader.compositeGraphicUnitCache,
|
||||
FontMap: make(map[string]*canvas.FontFamily),
|
||||
fontFSCache: make(map[fontFSKey]*canvas.FontFamily),
|
||||
}
|
||||
for _, opt := range opts {
|
||||
opt(r)
|
||||
|
||||
Reference in new issue
Block a user