mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 14:18:04 +08:00
This commit is contained in:
1 parent
87af84e4cd
commit
73472c5d4b
36 files changed
+2052
-609
No files matched your search
@@ -73,6 +73,7 @@ func NewRenderer(reader *Reader, opts ...RendererOption) *Renderer {
|
||||
CompositeGraphicUnits: reader.compositeGraphicUnitCache,
|
||||
templatePageCache: make(map[string]*PageContent),
|
||||
imageCache: make(map[string]image.Image),
|
||||
backends: defaultRenderBackends(),
|
||||
}
|
||||
r.resetFontCache()
|
||||
for _, opt := range opts {
|
||||
|
||||
Reference in new issue
Block a user