refactor(重构代码): 专注于性能提升

This commit is contained in:
2026-07-28 11:12:21 +08:00
parent efe3324d4b
commit 9462425a25
4 changed files with 37 additions and 13 deletions
+1
View File
@@ -36,6 +36,7 @@ type Renderer struct {
fontCache map[fontCacheKey]*canvas.FontFamily
fontSourceCache map[string][]fontSource
fontSourceUsed map[string]fontSource
fontDirCandidates map[string][]fontFileCandidate
textGlyphPathCache map[textGlyphPathCacheKey]textGlyphPathCacheValue
templatePageCache map[string]*PageContent
fontDirs []string