feat(代码优化): 修复小问题和升级jbig2
build.yaml / build (push) Successful in 36s

This commit is contained in:
xiaoqidun committed 2026-09-07 14:48:56 +08:00
1 parent 0322995771
commit 677396c71d
12 files changed
+377 -64

No files matched your search

+2
View File
@@ -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