feat(转换能力): 增强PDF字形与扫描件转换
build.yaml / build (push) Successful in 41s

This commit is contained in:
xiaoqidun committed 2026-09-25 00:31:52 +08:00
1 parent 2ae89e54b4
commit 786b1a41c2
14 files changed
+250 -97

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ func (p *pdfImporter) group(mark pdfgo.GroupMark, walk func(pdfgo.Visitor) error
if stroke {
color, overprint = path.Style.Stroke, path.Style.StrokeOverprint
}
if color.Alpha != 1 || color.Axial != nil || overprint && !pdfOpaqueBlack(color) {
if color.Alpha != 1 || color.Axial != nil || overprint && pdfOverprintNeedsSeparation(color) {
return &pdfgo.UnsupportedError{Feature: "transparent or overprinted group content"}
}
if paint == nil {