diff options
Diffstat (limited to 'testing/resources')
10 files changed, 24 insertions, 7 deletions
diff --git a/testing/resources/fonts/Ahem.ttf b/testing/resources/fonts/Ahem.ttf Binary files differnew file mode 100644 index 0000000000..4d4785a412 --- /dev/null +++ b/testing/resources/fonts/Ahem.ttf diff --git a/testing/resources/pixel/xfa_specific/xfa_example.in b/testing/resources/pixel/xfa_specific/use_ahem/xfa_example.in index d8be96f305..0e9ac151d5 100644 --- a/testing/resources/pixel/xfa_specific/xfa_example.in +++ b/testing/resources/pixel/xfa_specific/use_ahem/xfa_example.in @@ -1,6 +1,5 @@ {{header}} -%% Original object ID: 24 0 {{object 1 0}} << /AcroForm 2 0 R @@ -15,7 +14,6 @@ >> endobj -%% Original object ID: 32 0 {{object 2 0}} << /XFA [ @@ -51,6 +49,7 @@ stream </pageSet> <subform w="576pt" h="756pt" name="Page1"> <draw name="HelloWorld" y="0.5in" x="0.5in" w="5in" h="2in"> + <font typeface="Ahem" size="20pt"/> <value> <text>Hello, world.</text> </value> diff --git a/testing/resources/pixel/xfa_specific/xfa_example_expected_mac.pdf.0.png b/testing/resources/pixel/xfa_specific/use_ahem/xfa_example_expected.pdf.0.png Binary files differindex 9a682f7186..e1e62cce18 100644 --- a/testing/resources/pixel/xfa_specific/xfa_example_expected_mac.pdf.0.png +++ b/testing/resources/pixel/xfa_specific/use_ahem/xfa_example_expected.pdf.0.png diff --git a/testing/resources/pixel/xfa_specific/xfa_textfield.evt b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield.evt index 3d110568ec..1279468006 100644 --- a/testing/resources/pixel/xfa_specific/xfa_textfield.evt +++ b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield.evt @@ -1,4 +1,3 @@ -mousemove,20,20 mousedown,left,20,20 charcode,72 charcode,101 @@ -6,3 +5,4 @@ charcode,108 charcode,108 charcode,111 charcode,33 +mousedown,left,20,60 diff --git a/testing/resources/pixel/xfa_specific/xfa_textfield.in b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield.in index bdd685009f..218dbcec96 100644 --- a/testing/resources/pixel/xfa_specific/xfa_textfield.in +++ b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield.in @@ -50,12 +50,30 @@ stream </pageArea> </pageSet> <subform w="576pt" h="756pt" name="Page1"> - <field name="TextField1" y="0pt" x="0pt" w="425pt" h="20pt"> + <field name="TextField1" y="0pt" x="0pt" w="200pt" h="32pt"> + <font typeface="Ahem" size="20pt"/> <ui> - <textEdit> - <font typeface="Helvetica" size="16pt"/> - </textEdit> + <textEdit/> </ui> + <para vAlign="middle"/> + </field> + <field name="Button1" y="42pt" x="0pt" w="100pt" h="32pt"> + <ui> + <button highlight="inverted"/> + </ui> + <font typeface="Ahem" size="20pt"/> + <caption> + <value> + <text>Dummy</text> + </value> + <para vAlign="middle" hAlign="center"/> + </caption> + <border hand="right"> + <edge stroke="raised"/> + <fill> + <color value="212,208,200"/> + </fill> + </border> </field> </subform> </subform> diff --git a/testing/resources/pixel/xfa_specific/xfa_textfield_expected_mac.pdf.0.png b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield_expected.pdf.0.png Binary files differindex c4d4ce5a22..4d9a934c11 100644 --- a/testing/resources/pixel/xfa_specific/xfa_textfield_expected_mac.pdf.0.png +++ b/testing/resources/pixel/xfa_specific/use_ahem/xfa_textfield_expected.pdf.0.png diff --git a/testing/resources/pixel/xfa_specific/xfa_example_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/xfa_example_expected.pdf.0.png Binary files differdeleted file mode 100644 index 81c317a1e7..0000000000 --- a/testing/resources/pixel/xfa_specific/xfa_example_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/xfa_specific/xfa_example_expected_win.pdf.0.png b/testing/resources/pixel/xfa_specific/xfa_example_expected_win.pdf.0.png Binary files differdeleted file mode 100644 index 9a682f7186..0000000000 --- a/testing/resources/pixel/xfa_specific/xfa_example_expected_win.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/xfa_specific/xfa_textfield_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/xfa_textfield_expected.pdf.0.png Binary files differdeleted file mode 100644 index e5ad5012cd..0000000000 --- a/testing/resources/pixel/xfa_specific/xfa_textfield_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/xfa_specific/xfa_textfield_expected_win.pdf.0.png b/testing/resources/pixel/xfa_specific/xfa_textfield_expected_win.pdf.0.png Binary files differdeleted file mode 100644 index c4d4ce5a22..0000000000 --- a/testing/resources/pixel/xfa_specific/xfa_textfield_expected_win.pdf.0.png +++ /dev/null |