mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
0322995771
commit
677396c71d
12 files changed
+377
-64
No files matched your search
@@ -16,6 +16,7 @@ package ofdgo
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"image"
|
||||
"io/fs"
|
||||
|
||||
"github.com/tdewolff/canvas"
|
||||
@@ -39,6 +40,7 @@ type Renderer struct {
|
||||
fontDirCandidates map[string][]fontFileCandidate
|
||||
textGlyphPathCache map[textGlyphPathCacheKey]textGlyphPathCacheValue
|
||||
templatePageCache map[string]*PageContent
|
||||
imageCache map[string]image.Image
|
||||
fontDirs []string
|
||||
fontFS []fs.FS
|
||||
decodeImages bool
|
||||
|
||||
Reference in new issue
Block a user