Skip to content

Commit 79a1276

Browse files
committed
Fix #1194
1 parent f55e600 commit 79a1276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/pdfcpu/validate/annotation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,8 @@ func validateAnnotationDictScreen(xRefTable *model.XRefTable, d types.Dict, dict
912912

913913
// see 12.5.6.18
914914

915-
// T, optional, name
916-
if _, err := validateNameEntry(xRefTable, d, dictName, "T", OPTIONAL, model.V10, nil); err != nil {
915+
// T, optional, text string
916+
if _, err := validateStringEntry(xRefTable, d, dictName, "T", OPTIONAL, model.V10, nil); err != nil {
917917
return err
918918
}
919919

0 commit comments

Comments
 (0)