feat(标准版本): 修复裁剪字形并完善版本兼容
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-09 23:15:06 +08:00
1 parent 444c01b976
commit e9caaa4193
31 files changed
+639 -182

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ func (e *Editor) Page(index int) (*PageContent, error) {
return nil, err
}
result := cloneEditorData(*page)
result.XMLName = xml.Name{Space: ofdNamespace, Local: "Page"}
result.XMLName = xml.Name{Space: ofdNamespace2016, Local: "Page"}
for i := range result.Content.Layer {
layer := &result.Content.Layer[i]
layer.TextObject, layer.PathObject, layer.ImageObject, layer.CompositeGraphicUnit = nil, nil, nil, nil