Skip to content

Commit df2a612

Browse files
committed
Fix #623
1 parent bec6f91 commit df2a612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pdfcpu/validate/font.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ func validateType1FontDict(xRefTable *model.XRefTable, d types.Dict) error {
687687
fn := (*fontName).Value()
688688
required := xRefTable.Version() >= model.V15 || !validateStandardType1Font(fn)
689689
if xRefTable.ValidationMode == model.ValidationRelaxed {
690-
required = !validateStandardType1Font(fn) && fn != "Arial"
690+
required = false
691691
}
692692
// FirstChar, required except for standard 14 fonts. since 1.5 always required, integer
693693
fc, err := validateIntegerEntry(xRefTable, d, dictName, "FirstChar", required, model.V10, nil)

0 commit comments

Comments
 (0)