mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
c17aae5a74
commit
3fecdbf89e
6 files changed
+23
-15
No files matched your search
@@ -73,6 +73,7 @@ func NewRenderer(reader *Reader, opts ...RendererOption) *Renderer {
|
||||
FontMap: make(map[string]*canvas.FontFamily),
|
||||
fontFSCache: make(map[fontFSKey]*canvas.FontFamily),
|
||||
textGlyphPathCache: make(map[textGlyphPathCacheKey]textGlyphPathCacheValue),
|
||||
templatePageCache: make(map[string]*PageContent),
|
||||
}
|
||||
for _, opt := range opts {
|
||||
opt(r)
|
||||
|
||||
Reference in new issue
Block a user