feat(后端结构): 完善多后端解耦,清理遗留代码
build.yaml / build (push) Successful in 40s

This commit is contained in:
xiaoqidun committed 2026-09-23 17:20:25 +08:00
1 parent 77ffbe6a72
commit c15547f0d2
27 files changed
+1166 -465

No files matched your search

+2 -1
View File
@@ -25,7 +25,6 @@ import (
// OnExportProgress可选,同步回报文档导出的已处理页数及总页数,返回错误则停止,页数完成不代表写入成功
// TransparentBackground关闭页面白底,供嵌套图案和印章保持透明背景
type Renderer struct {
canvasFontState
Reader *Reader
DPI float64
RenderAnnotations bool
@@ -41,7 +40,9 @@ type Renderer struct {
pageText *PageText
textOnly bool
backends RenderBackends
backendStates map[any]any
resolvedFonts map[resolvedFontKey]resolvedFontResult
preparedFonts map[string]*PreparedFont
renderError error
TransparentBackground bool
}