Fix bad resource dictionary in freetext annotation pixel tests The default resources dictionary should have a font dictionary to hold the fonts, instead of holding the fonts directly. Bug: 380434959 Change-Id: Idb0072fd49139d20a49d8e459858e392b941a28c Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/126710 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/resources/pixel/freetext_annotation_with_ap.in b/testing/resources/pixel/freetext_annotation_with_ap.in index 97bac87..a95e44a 100644 --- a/testing/resources/pixel/freetext_annotation_with_ap.in +++ b/testing/resources/pixel/freetext_annotation_with_ap.in
@@ -5,7 +5,9 @@ /AcroForm << /Fields [4 0 R] /DR << - /F1 5 0 R + /Font << + /F1 5 0 R + >> >> >> >>
diff --git a/testing/resources/pixel/freetext_annotation_with_da.in b/testing/resources/pixel/freetext_annotation_with_da.in index 7639f5e..d0220a5 100644 --- a/testing/resources/pixel/freetext_annotation_with_da.in +++ b/testing/resources/pixel/freetext_annotation_with_da.in
@@ -5,7 +5,9 @@ /AcroForm << /Fields [4 0 R] /DR << - /F1 5 0 R + /Font << + /F1 5 0 R + >> >> >> >>