refactor(重构提升): 提升代码质量
build.yaml / build (push) Successful in 50s

This commit is contained in:
xiaoqidun committed 2026-07-23 15:51:48 +08:00
1 parent 6aa4e99530
commit 960bb2b1e0
6 files changed
+177 -178

No files matched your search

+3 -1
View File
@@ -33,7 +33,9 @@ type Renderer struct {
FontMap map[string]*canvas.FontFamily
FontGIDMap map[string]map[uint16]rune
FontCIDMap map[string]map[uint16]rune
fontFSCache map[fontFSKey]*canvas.FontFamily
fontCache map[fontCacheKey]*canvas.FontFamily
fontSourceCache map[string][]fontSource
fontSourceUsed map[string]fontSource
textGlyphPathCache map[textGlyphPathCacheKey]textGlyphPathCacheValue
templatePageCache map[string]*PageContent
fontDirs []string