feat(转换能力): 完善可编辑矢量转换与零线宽保存
build.yaml / build (push) Successful in 46s

This commit is contained in:
xiaoqidun committed 2026-09-24 19:12:58 +08:00
1 parent 444a84c629
commit b30a44b7ce
25 files changed
+529 -63

No files matched your search

-1
View File
@@ -128,7 +128,6 @@ func layoutShapedText(obj *TextObject, value string, options TextLayout, metrics
if options.Shaping.Bidi {
shift = visualShifts[glyph.Cluster]
} else if options.Shaping.Direction == "rtl" {
// 逻辑簇后的间距位于视觉左侧,整行不计末尾字距
shift = extra[len(chars)] - extra[glyph.Cluster] - options.LetterSpacing
}
gx, gy := x+glyph.X*hScale+shift, y+glyph.Y