Skip to content

Commit

Permalink
Fix #766
Browse files Browse the repository at this point in the history
  • Loading branch information
hhrutter committed Jan 29, 2024
1 parent 60e13f3 commit ac6f14a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/pdfcpu/validate/annotation.go
Expand Up @@ -1450,8 +1450,14 @@ func validateBorderArray(xRefTable *model.XRefTable, a types.Array) bool {
}

}

if all0 {
return false
if xRefTable.ValidationMode != model.ValidationRelaxed {
return false
}
if log.ValidateEnabled() {
log.Validate.Println("digesting invalid dash pattern array: %s", a1)
}
}

continue
Expand Down

0 comments on commit ac6f14a

Please sign in to comment.