refactor(重构提升): 修复裁剪并优化转换渲染
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-06 23:09:49 +08:00
1 parent 619899e297
commit e8344e6387
27 files changed
+754 -150

No files matched your search

+3 -3
View File
@@ -254,9 +254,9 @@ func editorXMLSupported(node *editorXML) bool {
allowed, children = "CodePosition CodeCount GlyphCount", "Glyphs"
case "Glyphs":
case "PathObject", "Path":
allowed, children = "Boundary CTM LineWidth MiterLimit Join Cap Rule DashPattern DashOffset Visible Stroke Fill Alpha", "StrokeColor FillColor AbbreviatedData"
allowed, children = "Boundary CTM DrawParam LineWidth MiterLimit Join Cap Rule DashPattern DashOffset Visible Stroke Fill Alpha", "StrokeColor FillColor AbbreviatedData"
if node.name.Local == "PathObject" {
allowed += " ID DrawParam"
allowed += " ID"
children += " Clips"
}
case "ImageObject":
@@ -270,7 +270,7 @@ func editorXMLSupported(node *editorXML) bool {
case "Clip":
children = "Area"
case "Area":
allowed, children = "CTM", "Path Text"
allowed, children = "CTM DrawParam", "Path Text"
case "AbbreviatedData":
default:
return false