diff --git a/pdf_samples/adobe_mode/dropdown/dropdown_one.pdf b/pdf_samples/adobe_mode/dropdown/dropdown_one.pdf index c80d17af..ce21cb7b 100644 Binary files a/pdf_samples/adobe_mode/dropdown/dropdown_one.pdf and b/pdf_samples/adobe_mode/dropdown/dropdown_one.pdf differ diff --git a/pdf_samples/adobe_mode/issues/613_expected.pdf b/pdf_samples/adobe_mode/issues/613_expected.pdf index 71631280..743ca2ff 100644 Binary files a/pdf_samples/adobe_mode/issues/613_expected.pdf and b/pdf_samples/adobe_mode/issues/613_expected.pdf differ diff --git a/pdf_samples/adobe_mode/paragraph/sample_filled_sejda_complex.pdf b/pdf_samples/adobe_mode/paragraph/sample_filled_sejda_complex.pdf index 710657bb..7c999030 100644 Binary files a/pdf_samples/adobe_mode/paragraph/sample_filled_sejda_complex.pdf and b/pdf_samples/adobe_mode/paragraph/sample_filled_sejda_complex.pdf differ diff --git a/pdf_samples/dropdown/dropdown_alignment_expected.pdf b/pdf_samples/dropdown/dropdown_alignment_expected.pdf index 4bfa270c..4fb73c82 100644 Binary files a/pdf_samples/dropdown/dropdown_alignment_expected.pdf and b/pdf_samples/dropdown/dropdown_alignment_expected.pdf differ diff --git a/pdf_samples/dropdown/dropdown_alignment_sejda_expected.pdf b/pdf_samples/dropdown/dropdown_alignment_sejda_expected.pdf index 9baab479..0eef1774 100644 Binary files a/pdf_samples/dropdown/dropdown_alignment_sejda_expected.pdf and b/pdf_samples/dropdown/dropdown_alignment_sejda_expected.pdf differ diff --git a/pdf_samples/dropdown/dropdown_four.pdf b/pdf_samples/dropdown/dropdown_four.pdf index 230dbea0..e348116d 100644 Binary files a/pdf_samples/dropdown/dropdown_four.pdf and b/pdf_samples/dropdown/dropdown_four.pdf differ diff --git a/pdf_samples/dropdown/dropdown_one.pdf b/pdf_samples/dropdown/dropdown_one.pdf index 8ae4d815..616f361d 100644 Binary files a/pdf_samples/dropdown/dropdown_one.pdf and b/pdf_samples/dropdown/dropdown_one.pdf differ diff --git a/pdf_samples/dropdown/dropdown_three.pdf b/pdf_samples/dropdown/dropdown_three.pdf index f29a76b1..2adc3381 100644 Binary files a/pdf_samples/dropdown/dropdown_three.pdf and b/pdf_samples/dropdown/dropdown_three.pdf differ diff --git a/pdf_samples/dropdown/dropdown_two.pdf b/pdf_samples/dropdown/dropdown_two.pdf index a3682c7a..997bd599 100644 Binary files a/pdf_samples/dropdown/dropdown_two.pdf and b/pdf_samples/dropdown/dropdown_two.pdf differ diff --git a/pdf_samples/max_length_text_field_related/comb_text_field_all_chars.pdf b/pdf_samples/max_length_text_field_related/comb_text_field_all_chars.pdf index 8858c4e7..cd8e7a1c 100644 Binary files a/pdf_samples/max_length_text_field_related/comb_text_field_all_chars.pdf and b/pdf_samples/max_length_text_field_related/comb_text_field_all_chars.pdf differ diff --git a/pdf_samples/max_length_text_field_related/comb_text_field_even_chars.pdf b/pdf_samples/max_length_text_field_related/comb_text_field_even_chars.pdf index cfc1099b..2baee77b 100644 Binary files a/pdf_samples/max_length_text_field_related/comb_text_field_even_chars.pdf and b/pdf_samples/max_length_text_field_related/comb_text_field_even_chars.pdf differ diff --git a/pdf_samples/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf b/pdf_samples/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf index 96a969e1..420d08d1 100644 Binary files a/pdf_samples/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf and b/pdf_samples/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf differ diff --git a/pdf_samples/max_length_text_field_related/comb_text_field_odd_chars.pdf b/pdf_samples/max_length_text_field_related/comb_text_field_odd_chars.pdf index 4b65ec1d..b51f7928 100644 Binary files a/pdf_samples/max_length_text_field_related/comb_text_field_odd_chars.pdf and b/pdf_samples/max_length_text_field_related/comb_text_field_odd_chars.pdf differ diff --git a/pdf_samples/max_length_text_field_related/comb_text_field_void.pdf b/pdf_samples/max_length_text_field_related/comb_text_field_void.pdf index 74ac5d53..c746aa7b 100644 Binary files a/pdf_samples/max_length_text_field_related/comb_text_field_void.pdf and b/pdf_samples/max_length_text_field_related/comb_text_field_void.pdf differ diff --git a/pdf_samples/max_length_text_field_related/max_length_text_field_all_chars.pdf b/pdf_samples/max_length_text_field_related/max_length_text_field_all_chars.pdf index d28e1d50..42172aa9 100644 Binary files a/pdf_samples/max_length_text_field_related/max_length_text_field_all_chars.pdf and b/pdf_samples/max_length_text_field_related/max_length_text_field_all_chars.pdf differ diff --git a/pdf_samples/max_length_text_field_related/max_length_text_field_even_chars.pdf b/pdf_samples/max_length_text_field_related/max_length_text_field_even_chars.pdf index a6494976..fd46069a 100644 Binary files a/pdf_samples/max_length_text_field_related/max_length_text_field_even_chars.pdf and b/pdf_samples/max_length_text_field_related/max_length_text_field_even_chars.pdf differ diff --git a/pdf_samples/max_length_text_field_related/max_length_text_field_odd_chars.pdf b/pdf_samples/max_length_text_field_related/max_length_text_field_odd_chars.pdf index 07a55f7c..081cec46 100644 Binary files a/pdf_samples/max_length_text_field_related/max_length_text_field_odd_chars.pdf and b/pdf_samples/max_length_text_field_related/max_length_text_field_odd_chars.pdf differ diff --git a/pdf_samples/pages/sample_template_page_1.pdf b/pdf_samples/pages/sample_template_page_1.pdf index 83df1fa3..1b1eb4bb 100644 Binary files a/pdf_samples/pages/sample_template_page_1.pdf and b/pdf_samples/pages/sample_template_page_1.pdf differ diff --git a/pdf_samples/paragraph/sample_filled_sejda_complex.pdf b/pdf_samples/paragraph/sample_filled_sejda_complex.pdf index 026045e3..89a3cc64 100644 Binary files a/pdf_samples/paragraph/sample_filled_sejda_complex.pdf and b/pdf_samples/paragraph/sample_filled_sejda_complex.pdf differ diff --git a/pdf_samples/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf b/pdf_samples/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf index e5c41b0b..a051f569 100644 Binary files a/pdf_samples/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf and b/pdf_samples/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_auto_font.pdf b/pdf_samples/paragraph/test_paragraph_auto_font.pdf index 1e5a9e95..768a7b4b 100644 Binary files a/pdf_samples/paragraph/test_paragraph_auto_font.pdf and b/pdf_samples/paragraph/test_paragraph_auto_font.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_auto_font_auto_wrap.pdf b/pdf_samples/paragraph/test_paragraph_auto_font_auto_wrap.pdf index b2389e95..db20bfff 100644 Binary files a/pdf_samples/paragraph/test_paragraph_auto_font_auto_wrap.pdf and b/pdf_samples/paragraph/test_paragraph_auto_font_auto_wrap.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_auto_wrap.pdf b/pdf_samples/paragraph/test_paragraph_auto_wrap.pdf index d84f0195..8b257865 100644 Binary files a/pdf_samples/paragraph/test_paragraph_auto_wrap.pdf and b/pdf_samples/paragraph/test_paragraph_auto_wrap.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_complex.pdf b/pdf_samples/paragraph/test_paragraph_complex.pdf index bd0b4c7e..f3a77419 100644 Binary files a/pdf_samples/paragraph/test_paragraph_complex.pdf and b/pdf_samples/paragraph/test_paragraph_complex.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_max_length.pdf b/pdf_samples/paragraph/test_paragraph_max_length.pdf index c07a973e..d9415c1a 100644 Binary files a/pdf_samples/paragraph/test_paragraph_max_length.pdf and b/pdf_samples/paragraph/test_paragraph_max_length.pdf differ diff --git a/pdf_samples/paragraph/test_paragraph_y_coordinate.pdf b/pdf_samples/paragraph/test_paragraph_y_coordinate.pdf index 6b32ac84..c33b1138 100644 Binary files a/pdf_samples/paragraph/test_paragraph_y_coordinate.pdf and b/pdf_samples/paragraph/test_paragraph_y_coordinate.pdf differ diff --git a/pdf_samples/preview/test_preview.pdf b/pdf_samples/preview/test_preview.pdf index e85d83e7..b0cf53e9 100644 Binary files a/pdf_samples/preview/test_preview.pdf and b/pdf_samples/preview/test_preview.pdf differ diff --git a/pdf_samples/preview/test_preview_comb_text_field.pdf b/pdf_samples/preview/test_preview_comb_text_field.pdf index badbd203..7dfeea67 100644 Binary files a/pdf_samples/preview/test_preview_comb_text_field.pdf and b/pdf_samples/preview/test_preview_comb_text_field.pdf differ diff --git a/pdf_samples/preview/test_preview_paragraph_complex.pdf b/pdf_samples/preview/test_preview_paragraph_complex.pdf index 37d428eb..7d0b9cda 100644 Binary files a/pdf_samples/preview/test_preview_paragraph_complex.pdf and b/pdf_samples/preview/test_preview_paragraph_complex.pdf differ diff --git a/pdf_samples/preview/test_preview_sejda.pdf b/pdf_samples/preview/test_preview_sejda.pdf index 48122c69..e87e8290 100644 Binary files a/pdf_samples/preview/test_preview_sejda.pdf and b/pdf_samples/preview/test_preview_sejda.pdf differ diff --git a/pdf_samples/preview/test_preview_sejda_complex.pdf b/pdf_samples/preview/test_preview_sejda_complex.pdf index e8ccec39..7abd4e81 100644 Binary files a/pdf_samples/preview/test_preview_sejda_complex.pdf and b/pdf_samples/preview/test_preview_sejda_complex.pdf differ diff --git a/pdf_samples/sample_added_3_copies.pdf b/pdf_samples/sample_added_3_copies.pdf index 7a474439..c5dda937 100644 Binary files a/pdf_samples/sample_added_3_copies.pdf and b/pdf_samples/sample_added_3_copies.pdf differ diff --git a/pdf_samples/sample_added_3_copies_sejda.pdf b/pdf_samples/sample_added_3_copies_sejda.pdf index 1e953692..a013ef5b 100644 Binary files a/pdf_samples/sample_added_3_copies_sejda.pdf and b/pdf_samples/sample_added_3_copies_sejda.pdf differ diff --git a/pdf_samples/sample_filled.pdf b/pdf_samples/sample_filled.pdf index a1662664..2e4ec811 100644 Binary files a/pdf_samples/sample_filled.pdf and b/pdf_samples/sample_filled.pdf differ diff --git a/pdf_samples/sample_filled_customized_widgets.pdf b/pdf_samples/sample_filled_customized_widgets.pdf index 3935e60f..50a044fa 100644 Binary files a/pdf_samples/sample_filled_customized_widgets.pdf and b/pdf_samples/sample_filled_customized_widgets.pdf differ diff --git a/pdf_samples/sample_filled_font_20.pdf b/pdf_samples/sample_filled_font_20.pdf index aa6bd917..cfc23372 100644 Binary files a/pdf_samples/sample_filled_font_20.pdf and b/pdf_samples/sample_filled_font_20.pdf differ diff --git a/pdf_samples/sample_filled_font_color_red.pdf b/pdf_samples/sample_filled_font_color_red.pdf index 3d70cc6f..4d836fb7 100644 Binary files a/pdf_samples/sample_filled_font_color_red.pdf and b/pdf_samples/sample_filled_font_color_red.pdf differ diff --git a/pdf_samples/sample_filled_font_liberation_serif_italic.pdf b/pdf_samples/sample_filled_font_liberation_serif_italic.pdf index 0e9304e4..a7616f53 100644 Binary files a/pdf_samples/sample_filled_font_liberation_serif_italic.pdf and b/pdf_samples/sample_filled_font_liberation_serif_italic.pdf differ diff --git a/pdf_samples/sample_filled_image.pdf b/pdf_samples/sample_filled_image.pdf index 56a5dc60..68e1d9f2 100644 Binary files a/pdf_samples/sample_filled_image.pdf and b/pdf_samples/sample_filled_image.pdf differ diff --git a/pdf_samples/sample_filled_radiobutton.pdf b/pdf_samples/sample_filled_radiobutton.pdf index 1005a544..a7d89017 100644 Binary files a/pdf_samples/sample_filled_radiobutton.pdf and b/pdf_samples/sample_filled_radiobutton.pdf differ diff --git a/pdf_samples/sample_filled_right_aligned.pdf b/pdf_samples/sample_filled_right_aligned.pdf index f030e237..bfe0b32a 100644 Binary files a/pdf_samples/sample_filled_right_aligned.pdf and b/pdf_samples/sample_filled_right_aligned.pdf differ diff --git a/pdf_samples/sample_filled_sejda.pdf b/pdf_samples/sample_filled_sejda.pdf index fc226fef..a29e0a5c 100644 Binary files a/pdf_samples/sample_filled_sejda.pdf and b/pdf_samples/sample_filled_sejda.pdf differ diff --git a/pdf_samples/sample_pdf_with_drawn_text.pdf b/pdf_samples/sample_pdf_with_drawn_text.pdf index d75fe373..43183a42 100644 Binary files a/pdf_samples/sample_pdf_with_drawn_text.pdf and b/pdf_samples/sample_pdf_with_drawn_text.pdf differ diff --git a/pdf_samples/sample_pdf_with_drawn_text_new_line_symbol.pdf b/pdf_samples/sample_pdf_with_drawn_text_new_line_symbol.pdf index b6efeef3..39229ee2 100644 Binary files a/pdf_samples/sample_pdf_with_drawn_text_new_line_symbol.pdf and b/pdf_samples/sample_pdf_with_drawn_text_new_line_symbol.pdf differ diff --git a/pdf_samples/sample_pdf_with_image.pdf b/pdf_samples/sample_pdf_with_image.pdf index f5df9f52..10a0b4b4 100644 Binary files a/pdf_samples/sample_pdf_with_image.pdf and b/pdf_samples/sample_pdf_with_image.pdf differ diff --git a/pdf_samples/sample_pdf_with_png_image.pdf b/pdf_samples/sample_pdf_with_png_image.pdf index d5297a3f..179c7ac9 100644 Binary files a/pdf_samples/sample_pdf_with_png_image.pdf and b/pdf_samples/sample_pdf_with_png_image.pdf differ diff --git a/pdf_samples/sample_pdf_with_transparent_png.pdf b/pdf_samples/sample_pdf_with_transparent_png.pdf index 7f5652f0..06a501db 100644 Binary files a/pdf_samples/sample_pdf_with_transparent_png.pdf and b/pdf_samples/sample_pdf_with_transparent_png.pdf differ diff --git a/pdf_samples/scenario/existed/DS82_expected.pdf b/pdf_samples/scenario/existed/DS82_expected.pdf index 60d43326..bdb1188e 100644 Binary files a/pdf_samples/scenario/existed/DS82_expected.pdf and b/pdf_samples/scenario/existed/DS82_expected.pdf differ diff --git a/pdf_samples/scenario/existed/DS82_expected_all_chars_lowercase.pdf b/pdf_samples/scenario/existed/DS82_expected_all_chars_lowercase.pdf index ca651485..4fa1acc3 100644 Binary files a/pdf_samples/scenario/existed/DS82_expected_all_chars_lowercase.pdf and b/pdf_samples/scenario/existed/DS82_expected_all_chars_lowercase.pdf differ diff --git a/pdf_samples/scenario/existed/DS82_expected_all_chars_uppercase.pdf b/pdf_samples/scenario/existed/DS82_expected_all_chars_uppercase.pdf index 2c47aefc..e773bbda 100644 Binary files a/pdf_samples/scenario/existed/DS82_expected_all_chars_uppercase.pdf and b/pdf_samples/scenario/existed/DS82_expected_all_chars_uppercase.pdf differ diff --git a/pdf_samples/scenario/existed/DS82_expected_mixed_case.pdf b/pdf_samples/scenario/existed/DS82_expected_mixed_case.pdf index fabc64e6..b072c105 100644 Binary files a/pdf_samples/scenario/existed/DS82_expected_mixed_case.pdf and b/pdf_samples/scenario/existed/DS82_expected_mixed_case.pdf differ diff --git a/pdf_samples/scenario/existed/illinois-gun-bill-of-sale_expected.pdf b/pdf_samples/scenario/existed/illinois-gun-bill-of-sale_expected.pdf index 71d607b9..50fd49a2 100644 Binary files a/pdf_samples/scenario/existed/illinois-gun-bill-of-sale_expected.pdf and b/pdf_samples/scenario/existed/illinois-gun-bill-of-sale_expected.pdf differ diff --git a/pdf_samples/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf b/pdf_samples/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf index c6af0dbd..035f1ee5 100644 Binary files a/pdf_samples/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf and b/pdf_samples/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf differ diff --git a/pdf_samples/scenario/issues/437_expected.pdf b/pdf_samples/scenario/issues/437_expected.pdf index 36e4c486..2517ce17 100644 Binary files a/pdf_samples/scenario/issues/437_expected.pdf and b/pdf_samples/scenario/issues/437_expected.pdf differ diff --git a/pdf_samples/scenario/issues/521-expected.pdf b/pdf_samples/scenario/issues/521-expected.pdf index 39e054e9..de55b9a2 100644 Binary files a/pdf_samples/scenario/issues/521-expected.pdf and b/pdf_samples/scenario/issues/521-expected.pdf differ diff --git a/pdf_samples/scenario/issues/560_expected.pdf b/pdf_samples/scenario/issues/560_expected.pdf index 1ef015c6..0584fd7a 100644 Binary files a/pdf_samples/scenario/issues/560_expected.pdf and b/pdf_samples/scenario/issues/560_expected.pdf differ diff --git a/pdf_samples/scenario/issues/683_expected.pdf b/pdf_samples/scenario/issues/683_expected.pdf index 44bd8cce..32e3d90d 100644 Binary files a/pdf_samples/scenario/issues/683_expected.pdf and b/pdf_samples/scenario/issues/683_expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-246-expected.pdf b/pdf_samples/scenario/issues/PPF-246-expected.pdf index 0edc5280..cdb41533 100644 Binary files a/pdf_samples/scenario/issues/PPF-246-expected.pdf and b/pdf_samples/scenario/issues/PPF-246-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-285-expected.pdf b/pdf_samples/scenario/issues/PPF-285-expected.pdf index a78a293e..838799b7 100644 Binary files a/pdf_samples/scenario/issues/PPF-285-expected.pdf and b/pdf_samples/scenario/issues/PPF-285-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-415-2-expected.pdf b/pdf_samples/scenario/issues/PPF-415-2-expected.pdf index b0342fe0..0cc31bd1 100644 Binary files a/pdf_samples/scenario/issues/PPF-415-2-expected.pdf and b/pdf_samples/scenario/issues/PPF-415-2-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-415-3-expected.pdf b/pdf_samples/scenario/issues/PPF-415-3-expected.pdf index 7b5ade0e..93b54e9a 100644 Binary files a/pdf_samples/scenario/issues/PPF-415-3-expected.pdf and b/pdf_samples/scenario/issues/PPF-415-3-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-415-expected.pdf b/pdf_samples/scenario/issues/PPF-415-expected.pdf index 13febc44..9b851da1 100644 Binary files a/pdf_samples/scenario/issues/PPF-415-expected.pdf and b/pdf_samples/scenario/issues/PPF-415-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-620-expected.pdf b/pdf_samples/scenario/issues/PPF-620-expected.pdf index ded7689f..3bb051c8 100644 Binary files a/pdf_samples/scenario/issues/PPF-620-expected.pdf and b/pdf_samples/scenario/issues/PPF-620-expected.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-627-expected-0.pdf b/pdf_samples/scenario/issues/PPF-627-expected-0.pdf index 06903d72..30f681f4 100644 Binary files a/pdf_samples/scenario/issues/PPF-627-expected-0.pdf and b/pdf_samples/scenario/issues/PPF-627-expected-0.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-627-expected-1.pdf b/pdf_samples/scenario/issues/PPF-627-expected-1.pdf index 2cef48c3..8303c176 100644 Binary files a/pdf_samples/scenario/issues/PPF-627-expected-1.pdf and b/pdf_samples/scenario/issues/PPF-627-expected-1.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-627-expected-2.pdf b/pdf_samples/scenario/issues/PPF-627-expected-2.pdf index fd11d272..62ca8e9a 100644 Binary files a/pdf_samples/scenario/issues/PPF-627-expected-2.pdf and b/pdf_samples/scenario/issues/PPF-627-expected-2.pdf differ diff --git a/pdf_samples/scenario/issues/PPF-627-expected-3.pdf b/pdf_samples/scenario/issues/PPF-627-expected-3.pdf index fd895443..a1e68026 100644 Binary files a/pdf_samples/scenario/issues/PPF-627-expected-3.pdf and b/pdf_samples/scenario/issues/PPF-627-expected-3.pdf differ diff --git a/pdf_samples/scenario/tools/docfly_expected.pdf b/pdf_samples/scenario/tools/docfly_expected.pdf index c5b8483e..3b41b3d2 100644 Binary files a/pdf_samples/scenario/tools/docfly_expected.pdf and b/pdf_samples/scenario/tools/docfly_expected.pdf differ diff --git a/pdf_samples/scenario/tools/pdf_escape_expected.pdf b/pdf_samples/scenario/tools/pdf_escape_expected.pdf index 3ee47f58..b8d2b25d 100644 Binary files a/pdf_samples/scenario/tools/pdf_escape_expected.pdf and b/pdf_samples/scenario/tools/pdf_escape_expected.pdf differ diff --git a/pdf_samples/scenario/tools/sejda_dropdown_expected.pdf b/pdf_samples/scenario/tools/sejda_dropdown_expected.pdf index 03e7eac0..80bdc7c3 100644 Binary files a/pdf_samples/scenario/tools/sejda_dropdown_expected.pdf and b/pdf_samples/scenario/tools/sejda_dropdown_expected.pdf differ diff --git a/pdf_samples/scenario/tools/soda_expected.pdf b/pdf_samples/scenario/tools/soda_expected.pdf index ec08d72f..deacc5c2 100644 Binary files a/pdf_samples/scenario/tools/soda_expected.pdf and b/pdf_samples/scenario/tools/soda_expected.pdf differ diff --git a/pdf_samples/signature/test_fill_signature.pdf b/pdf_samples/signature/test_fill_signature.pdf index fa15b79a..38fe6581 100644 Binary files a/pdf_samples/signature/test_fill_signature.pdf and b/pdf_samples/signature/test_fill_signature.pdf differ diff --git a/pdf_samples/signature/test_fill_signature_overlap.pdf b/pdf_samples/signature/test_fill_signature_overlap.pdf index b9b00dd3..aef15986 100644 Binary files a/pdf_samples/signature/test_fill_signature_overlap.pdf and b/pdf_samples/signature/test_fill_signature_overlap.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_alignment_expected.pdf b/pdf_samples/simple/dropdown/dropdown_alignment_expected.pdf index 8a4fbc8c..d421d091 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_alignment_expected.pdf and b/pdf_samples/simple/dropdown/dropdown_alignment_expected.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_four.pdf b/pdf_samples/simple/dropdown/dropdown_four.pdf index cab46039..88536d7e 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_four.pdf and b/pdf_samples/simple/dropdown/dropdown_four.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_one.pdf b/pdf_samples/simple/dropdown/dropdown_one.pdf index 92bcab77..77077192 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_one.pdf and b/pdf_samples/simple/dropdown/dropdown_one.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_three.pdf b/pdf_samples/simple/dropdown/dropdown_three.pdf index 1ac6fe35..c122978d 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_three.pdf and b/pdf_samples/simple/dropdown/dropdown_three.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_two.pdf b/pdf_samples/simple/dropdown/dropdown_two.pdf index e281ce63..857514bd 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_two.pdf and b/pdf_samples/simple/dropdown/dropdown_two.pdf differ diff --git a/pdf_samples/simple/dropdown/dropdown_two_simple.pdf b/pdf_samples/simple/dropdown/dropdown_two_simple.pdf index 783204e2..da86fa1b 100644 Binary files a/pdf_samples/simple/dropdown/dropdown_two_simple.pdf and b/pdf_samples/simple/dropdown/dropdown_two_simple.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/comb_text_field_all_chars.pdf b/pdf_samples/simple/max_length_text_field_related/comb_text_field_all_chars.pdf index 34e05aa2..1d5e65f1 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/comb_text_field_all_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/comb_text_field_all_chars.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars.pdf b/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars.pdf index 51e9e9db..1e505e86 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf b/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf index e06ac926..b0de1e15 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf and b/pdf_samples/simple/max_length_text_field_related/comb_text_field_even_chars_right_aligned.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/comb_text_field_odd_chars.pdf b/pdf_samples/simple/max_length_text_field_related/comb_text_field_odd_chars.pdf index 09868857..5fd2cbe6 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/comb_text_field_odd_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/comb_text_field_odd_chars.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_all_chars.pdf b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_all_chars.pdf index 1d4b7d0d..ae8dd169 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_all_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_all_chars.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_even_chars.pdf b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_even_chars.pdf index abd042aa..a0013c7e 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_even_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_even_chars.pdf differ diff --git a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_odd_chars.pdf b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_odd_chars.pdf index 012a0fad..d15321b1 100644 Binary files a/pdf_samples/simple/max_length_text_field_related/max_length_text_field_odd_chars.pdf and b/pdf_samples/simple/max_length_text_field_related/max_length_text_field_odd_chars.pdf differ diff --git a/pdf_samples/simple/paragraph/sample_filled_sejda_complex.pdf b/pdf_samples/simple/paragraph/sample_filled_sejda_complex.pdf index 7d651897..8081feef 100644 Binary files a/pdf_samples/simple/paragraph/sample_filled_sejda_complex.pdf and b/pdf_samples/simple/paragraph/sample_filled_sejda_complex.pdf differ diff --git a/pdf_samples/simple/paragraph/sample_filled_sejda_complex_flatten.pdf b/pdf_samples/simple/paragraph/sample_filled_sejda_complex_flatten.pdf index 28056e43..281d9821 100644 Binary files a/pdf_samples/simple/paragraph/sample_filled_sejda_complex_flatten.pdf and b/pdf_samples/simple/paragraph/sample_filled_sejda_complex_flatten.pdf differ diff --git a/pdf_samples/simple/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf b/pdf_samples/simple/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf index e51e51a6..715cba9d 100644 Binary files a/pdf_samples/simple/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf and b/pdf_samples/simple/paragraph/sample_filled_sejda_complex_paragraph_multiple_line_alignment.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_auto_font.pdf b/pdf_samples/simple/paragraph/test_paragraph_auto_font.pdf index 10a9d954..26b43926 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_auto_font.pdf and b/pdf_samples/simple/paragraph/test_paragraph_auto_font.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_auto_font_auto_wrap.pdf b/pdf_samples/simple/paragraph/test_paragraph_auto_font_auto_wrap.pdf index fd9bead7..4f4f8bd4 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_auto_font_auto_wrap.pdf and b/pdf_samples/simple/paragraph/test_paragraph_auto_font_auto_wrap.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_auto_wrap.pdf b/pdf_samples/simple/paragraph/test_paragraph_auto_wrap.pdf index 2656851f..6fd2dc75 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_auto_wrap.pdf and b/pdf_samples/simple/paragraph/test_paragraph_auto_wrap.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_complex.pdf b/pdf_samples/simple/paragraph/test_paragraph_complex.pdf index 39f49fa5..1e48cd4b 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_complex.pdf and b/pdf_samples/simple/paragraph/test_paragraph_complex.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_max_length.pdf b/pdf_samples/simple/paragraph/test_paragraph_max_length.pdf index 43389746..5f4f9925 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_max_length.pdf and b/pdf_samples/simple/paragraph/test_paragraph_max_length.pdf differ diff --git a/pdf_samples/simple/paragraph/test_paragraph_y_coordinate.pdf b/pdf_samples/simple/paragraph/test_paragraph_y_coordinate.pdf index 1f22590c..71f00be8 100644 Binary files a/pdf_samples/simple/paragraph/test_paragraph_y_coordinate.pdf and b/pdf_samples/simple/paragraph/test_paragraph_y_coordinate.pdf differ diff --git a/pdf_samples/simple/sample_filled.pdf b/pdf_samples/simple/sample_filled.pdf index 425511ac..01495a75 100644 Binary files a/pdf_samples/simple/sample_filled.pdf and b/pdf_samples/simple/sample_filled.pdf differ diff --git a/pdf_samples/simple/sample_filled_radiobutton.pdf b/pdf_samples/simple/sample_filled_radiobutton.pdf index 374e5b85..5bd179b4 100644 Binary files a/pdf_samples/simple/sample_filled_radiobutton.pdf and b/pdf_samples/simple/sample_filled_radiobutton.pdf differ diff --git a/pdf_samples/simple/sample_filled_right_aligned.pdf b/pdf_samples/simple/sample_filled_right_aligned.pdf index 4942b6d0..ccf6c515 100644 Binary files a/pdf_samples/simple/sample_filled_right_aligned.pdf and b/pdf_samples/simple/sample_filled_right_aligned.pdf differ diff --git a/pdf_samples/simple/sample_filled_sejda.pdf b/pdf_samples/simple/sample_filled_sejda.pdf index 822dd239..ed295647 100644 Binary files a/pdf_samples/simple/sample_filled_sejda.pdf and b/pdf_samples/simple/sample_filled_sejda.pdf differ diff --git a/pdf_samples/simple/scenario/existed/DS82_expected.pdf b/pdf_samples/simple/scenario/existed/DS82_expected.pdf index dcc13de3..e04d038e 100644 Binary files a/pdf_samples/simple/scenario/existed/DS82_expected.pdf and b/pdf_samples/simple/scenario/existed/DS82_expected.pdf differ diff --git a/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_lowercase.pdf b/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_lowercase.pdf index e9daeee3..0afa5b78 100644 Binary files a/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_lowercase.pdf and b/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_lowercase.pdf differ diff --git a/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_uppercase.pdf b/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_uppercase.pdf index 983210ae..7037f173 100644 Binary files a/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_uppercase.pdf and b/pdf_samples/simple/scenario/existed/DS82_expected_all_chars_uppercase.pdf differ diff --git a/pdf_samples/simple/scenario/existed/DS82_expected_mixed_case.pdf b/pdf_samples/simple/scenario/existed/DS82_expected_mixed_case.pdf index 57dfc0d2..7c9e046a 100644 Binary files a/pdf_samples/simple/scenario/existed/DS82_expected_mixed_case.pdf and b/pdf_samples/simple/scenario/existed/DS82_expected_mixed_case.pdf differ diff --git a/pdf_samples/simple/scenario/existed/illinois-gun-bill-of-sale_expected.pdf b/pdf_samples/simple/scenario/existed/illinois-gun-bill-of-sale_expected.pdf index b95151cf..7c29a183 100644 Binary files a/pdf_samples/simple/scenario/existed/illinois-gun-bill-of-sale_expected.pdf and b/pdf_samples/simple/scenario/existed/illinois-gun-bill-of-sale_expected.pdf differ diff --git a/pdf_samples/simple/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf b/pdf_samples/simple/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf index ce646f63..565bf946 100644 Binary files a/pdf_samples/simple/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf and b/pdf_samples/simple/scenario/existed/illinois-real-estate-power-of-attorney-form_expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/437_expected.pdf b/pdf_samples/simple/scenario/issues/437_expected.pdf index cb163bde..a6cc7239 100644 Binary files a/pdf_samples/simple/scenario/issues/437_expected.pdf and b/pdf_samples/simple/scenario/issues/437_expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/521-expected.pdf b/pdf_samples/simple/scenario/issues/521-expected.pdf index d0127d6a..378dac0b 100644 Binary files a/pdf_samples/simple/scenario/issues/521-expected.pdf and b/pdf_samples/simple/scenario/issues/521-expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/521-flattened-expected.pdf b/pdf_samples/simple/scenario/issues/521-flattened-expected.pdf index 9a3053ae..2ce5e13c 100644 Binary files a/pdf_samples/simple/scenario/issues/521-flattened-expected.pdf and b/pdf_samples/simple/scenario/issues/521-flattened-expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-246-expected.pdf b/pdf_samples/simple/scenario/issues/PPF-246-expected.pdf index 80cd0765..db797a9e 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-246-expected.pdf and b/pdf_samples/simple/scenario/issues/PPF-246-expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-285-expected.pdf b/pdf_samples/simple/scenario/issues/PPF-285-expected.pdf index 488e3369..fdce31b4 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-285-expected.pdf and b/pdf_samples/simple/scenario/issues/PPF-285-expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-415-2-expected.pdf b/pdf_samples/simple/scenario/issues/PPF-415-2-expected.pdf index 4c1d5b67..1d879d28 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-415-2-expected.pdf and b/pdf_samples/simple/scenario/issues/PPF-415-2-expected.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-627-expected-0.pdf b/pdf_samples/simple/scenario/issues/PPF-627-expected-0.pdf index d9498276..15494a50 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-627-expected-0.pdf and b/pdf_samples/simple/scenario/issues/PPF-627-expected-0.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-627-expected-1.pdf b/pdf_samples/simple/scenario/issues/PPF-627-expected-1.pdf index e326a108..e8f05c88 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-627-expected-1.pdf and b/pdf_samples/simple/scenario/issues/PPF-627-expected-1.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-627-expected-2.pdf b/pdf_samples/simple/scenario/issues/PPF-627-expected-2.pdf index 954a4da5..f755e582 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-627-expected-2.pdf and b/pdf_samples/simple/scenario/issues/PPF-627-expected-2.pdf differ diff --git a/pdf_samples/simple/scenario/issues/PPF-627-expected-3.pdf b/pdf_samples/simple/scenario/issues/PPF-627-expected-3.pdf index 7720dcd8..84c6a0a4 100644 Binary files a/pdf_samples/simple/scenario/issues/PPF-627-expected-3.pdf and b/pdf_samples/simple/scenario/issues/PPF-627-expected-3.pdf differ diff --git a/pdf_samples/simple/scenario/tools/docfly_expected.pdf b/pdf_samples/simple/scenario/tools/docfly_expected.pdf index 53944ff2..1e20acf3 100644 Binary files a/pdf_samples/simple/scenario/tools/docfly_expected.pdf and b/pdf_samples/simple/scenario/tools/docfly_expected.pdf differ diff --git a/pdf_samples/simple/scenario/tools/pdf_escape_expected.pdf b/pdf_samples/simple/scenario/tools/pdf_escape_expected.pdf index 581e8f3b..5d54e323 100644 Binary files a/pdf_samples/simple/scenario/tools/pdf_escape_expected.pdf and b/pdf_samples/simple/scenario/tools/pdf_escape_expected.pdf differ diff --git a/pdf_samples/simple/scenario/tools/soda_expected.pdf b/pdf_samples/simple/scenario/tools/soda_expected.pdf index a010db48..0ab9a3b7 100644 Binary files a/pdf_samples/simple/scenario/tools/soda_expected.pdf and b/pdf_samples/simple/scenario/tools/soda_expected.pdf differ diff --git a/pdf_samples/simple/test_fill_complex_fonts.pdf b/pdf_samples/simple/test_fill_complex_fonts.pdf index 9c9934ba..134bddcd 100644 Binary files a/pdf_samples/simple/test_fill_complex_fonts.pdf and b/pdf_samples/simple/test_fill_complex_fonts.pdf differ diff --git a/pdf_samples/simple/test_fill_font_color.pdf b/pdf_samples/simple/test_fill_font_color.pdf index 97d2330e..28b7e73f 100644 Binary files a/pdf_samples/simple/test_fill_font_color.pdf and b/pdf_samples/simple/test_fill_font_color.pdf differ diff --git a/pdf_samples/simple/undo/test_undo_checkbox.pdf b/pdf_samples/simple/undo/test_undo_checkbox.pdf index 0adae696..b855f070 100644 Binary files a/pdf_samples/simple/undo/test_undo_checkbox.pdf and b/pdf_samples/simple/undo/test_undo_checkbox.pdf differ diff --git a/pdf_samples/test_checkbox_change_size_and_button_style.pdf b/pdf_samples/test_checkbox_change_size_and_button_style.pdf index ef7400dc..d8d2aa8d 100644 Binary files a/pdf_samples/test_checkbox_change_size_and_button_style.pdf and b/pdf_samples/test_checkbox_change_size_and_button_style.pdf differ diff --git a/pdf_samples/test_fill_complex_fonts.pdf b/pdf_samples/test_fill_complex_fonts.pdf index 00ec80ad..6c6df06a 100644 Binary files a/pdf_samples/test_fill_complex_fonts.pdf and b/pdf_samples/test_fill_complex_fonts.pdf differ diff --git a/pdf_samples/test_fill_font_color.pdf b/pdf_samples/test_fill_font_color.pdf index cfbefc26..bda68924 100644 Binary files a/pdf_samples/test_fill_font_color.pdf and b/pdf_samples/test_fill_font_color.pdf differ diff --git a/pdf_samples/test_generate_coordinate_grid.pdf b/pdf_samples/test_generate_coordinate_grid.pdf index 1425c861..7a6094fa 100644 Binary files a/pdf_samples/test_generate_coordinate_grid.pdf and b/pdf_samples/test_generate_coordinate_grid.pdf differ diff --git a/pdf_samples/test_generate_coordinate_grid_margin_50.pdf b/pdf_samples/test_generate_coordinate_grid_margin_50.pdf index df80fa70..506fcc11 100644 Binary files a/pdf_samples/test_generate_coordinate_grid_margin_50.pdf and b/pdf_samples/test_generate_coordinate_grid_margin_50.pdf differ diff --git a/pdf_samples/test_radio_change_size_and_button_style.pdf b/pdf_samples/test_radio_change_size_and_button_style.pdf index cf9a0736..0d1a083a 100644 Binary files a/pdf_samples/test_radio_change_size_and_button_style.pdf and b/pdf_samples/test_radio_change_size_and_button_style.pdf differ diff --git a/pdf_samples/widget/create_checkbox_check.pdf b/pdf_samples/widget/create_checkbox_check.pdf index d33247df..fd50d61c 100644 Binary files a/pdf_samples/widget/create_checkbox_check.pdf and b/pdf_samples/widget/create_checkbox_check.pdf differ diff --git a/pdf_samples/widget/create_checkbox_circle.pdf b/pdf_samples/widget/create_checkbox_circle.pdf index 21f3b99d..55a9d605 100644 Binary files a/pdf_samples/widget/create_checkbox_circle.pdf and b/pdf_samples/widget/create_checkbox_circle.pdf differ diff --git a/pdf_samples/widget/create_checkbox_complex.pdf b/pdf_samples/widget/create_checkbox_complex.pdf index 4e6698da..19d392ba 100644 Binary files a/pdf_samples/widget/create_checkbox_complex.pdf and b/pdf_samples/widget/create_checkbox_complex.pdf differ diff --git a/pdf_samples/widget/create_checkbox_complex_filled.pdf b/pdf_samples/widget/create_checkbox_complex_filled.pdf index 3dee14bd..b6f0f21e 100644 Binary files a/pdf_samples/widget/create_checkbox_complex_filled.pdf and b/pdf_samples/widget/create_checkbox_complex_filled.pdf differ diff --git a/pdf_samples/widget/create_checkbox_cross.pdf b/pdf_samples/widget/create_checkbox_cross.pdf index 3afa8113..ec44b4a9 100644 Binary files a/pdf_samples/widget/create_checkbox_cross.pdf and b/pdf_samples/widget/create_checkbox_cross.pdf differ diff --git a/pdf_samples/widget/create_checkbox_default.pdf b/pdf_samples/widget/create_checkbox_default.pdf index a4deeb0d..9411d350 100644 Binary files a/pdf_samples/widget/create_checkbox_default.pdf and b/pdf_samples/widget/create_checkbox_default.pdf differ diff --git a/pdf_samples/widget/create_checkbox_default_filled.pdf b/pdf_samples/widget/create_checkbox_default_filled.pdf index d33247df..fd50d61c 100644 Binary files a/pdf_samples/widget/create_checkbox_default_filled.pdf and b/pdf_samples/widget/create_checkbox_default_filled.pdf differ diff --git a/pdf_samples/widget/create_checkbox_persist_old_widgets.pdf b/pdf_samples/widget/create_checkbox_persist_old_widgets.pdf index c6f019b5..c24ffb54 100644 Binary files a/pdf_samples/widget/create_checkbox_persist_old_widgets.pdf and b/pdf_samples/widget/create_checkbox_persist_old_widgets.pdf differ diff --git a/pdf_samples/widget/create_dropdown.pdf b/pdf_samples/widget/create_dropdown.pdf index b21367a5..f88b9f8c 100644 Binary files a/pdf_samples/widget/create_dropdown.pdf and b/pdf_samples/widget/create_dropdown.pdf differ diff --git a/pdf_samples/widget/create_text_align_center.pdf b/pdf_samples/widget/create_text_align_center.pdf index 066394da..97125c2a 100644 Binary files a/pdf_samples/widget/create_text_align_center.pdf and b/pdf_samples/widget/create_text_align_center.pdf differ diff --git a/pdf_samples/widget/create_text_align_multiline.pdf b/pdf_samples/widget/create_text_align_multiline.pdf index b7f4e97b..9b191760 100644 Binary files a/pdf_samples/widget/create_text_align_multiline.pdf and b/pdf_samples/widget/create_text_align_multiline.pdf differ diff --git a/pdf_samples/widget/create_text_align_right.pdf b/pdf_samples/widget/create_text_align_right.pdf index c2acc499..359beef0 100644 Binary files a/pdf_samples/widget/create_text_align_right.pdf and b/pdf_samples/widget/create_text_align_right.pdf differ diff --git a/pdf_samples/widget/create_text_complex.pdf b/pdf_samples/widget/create_text_complex.pdf index 39bb2be8..63b68794 100644 Binary files a/pdf_samples/widget/create_text_complex.pdf and b/pdf_samples/widget/create_text_complex.pdf differ diff --git a/pdf_samples/widget/create_text_complex_filled.pdf b/pdf_samples/widget/create_text_complex_filled.pdf index 6bb3798b..c83bb9a8 100644 Binary files a/pdf_samples/widget/create_text_complex_filled.pdf and b/pdf_samples/widget/create_text_complex_filled.pdf differ diff --git a/pdf_samples/widget/create_text_default.pdf b/pdf_samples/widget/create_text_default.pdf index 052ff641..f9893782 100644 Binary files a/pdf_samples/widget/create_text_default.pdf and b/pdf_samples/widget/create_text_default.pdf differ diff --git a/pdf_samples/widget/create_text_default_filled.pdf b/pdf_samples/widget/create_text_default_filled.pdf index 47a844f2..3ac70065 100644 Binary files a/pdf_samples/widget/create_text_default_filled.pdf and b/pdf_samples/widget/create_text_default_filled.pdf differ diff --git a/pdf_samples/widget/create_widget_sejda.pdf b/pdf_samples/widget/create_widget_sejda.pdf index 3578429f..dee648e8 100644 Binary files a/pdf_samples/widget/create_widget_sejda.pdf and b/pdf_samples/widget/create_widget_sejda.pdf differ diff --git a/tests/test_functional.py b/tests/test_functional.py index 93239609..c1a81460 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -258,7 +258,7 @@ def test_draw_image_on_one_page(template_stream, image_samples, pdf_samples, req expected = f.read() - if os.name == "nt": + if os.name != "nt": request.config.results["expected_path"] = expected_path request.config.results["stream"] = obj.read() assert len(obj.stream) == len(expected) @@ -281,7 +281,7 @@ def test_draw_png_image_on_one_page( expected = f.read() - if os.name == "nt": + if os.name != "nt": request.config.results["expected_path"] = expected_path request.config.results["stream"] = obj.read() assert len(obj.stream) == len(expected) @@ -304,7 +304,7 @@ def test_draw_transparent_png_image_on_one_page( expected = f.read() - if os.name == "nt": + if os.name != "nt": request.config.results["expected_path"] = expected_path request.config.results["stream"] = obj.read() assert len(obj.stream) == len(expected) @@ -510,24 +510,15 @@ def test_fill_complex_fonts(sample_template_with_complex_fonts, pdf_samples, req assert obj.stream == expected -def test_pages(template_stream, pdf_samples): +def test_pages(template_stream, pdf_samples, request): + expected_path = os.path.join(pdf_samples, "pages", "sample_template_page_1.pdf") obj = PdfWrapper(template_stream) - with open( - os.path.join(pdf_samples, "pages", "sample_template_page_1.pdf"), "rb+" - ) as f: + with open(expected_path, "rb+") as f: + request.config.results["expected_path"] = expected_path + request.config.results["stream"] = obj.pages[0].read() assert obj.pages[0].read() == f.read() - with open( - os.path.join(pdf_samples, "pages", "sample_template_page_2.pdf"), "rb+" - ) as f: - assert obj.pages[1].read() == f.read() - - with open( - os.path.join(pdf_samples, "pages", "sample_template_page_3.pdf"), "rb+" - ) as f: - assert obj.pages[2].read() == f.read() - def test_generate_coordinate_grid(template_stream, pdf_samples, request): expected_path = os.path.join(pdf_samples, "test_generate_coordinate_grid.pdf")