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

This commit is contained in:
xiaoqidun committed 2026-07-28 11:12:21 +08:00
1 parent efe3324d4b
commit 9462425a25
4 files changed
+37 -13

No files matched your search

+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