feat(转换服务): 修复异常注解转换中断
build.yaml / build (push) Successful in 50s

This commit is contained in:
xiaoqidun committed 2026-09-30 23:46:30 +08:00
1 parent c5867b0948
commit e5993aed24
6 files changed
+325 -72

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ import "github.com/xiaoqidun/pdfgo"
// 返回: error 严格模式或非恒等传递函数无法表达
func (p *pdfImporter) halftone(style pdfgo.Style) error {
h := style.Halftone
if h == nil {
if h == nil || h.Type == 0 {
return nil
}
identity, err := h.IdentityTransfer(p.reader)