diff --git a/borb/license/version.py b/borb/license/version.py index 6f35f191d..4ae2166a6 100644 --- a/borb/license/version.py +++ b/borb/license/version.py @@ -46,4 +46,4 @@ def get_version() -> str: This function returns the current borb version :return: the current borb version """ - return "2.1.24" + return "2.1.25" diff --git a/borb/pdf/canvas/font/google_true_type_font.py b/borb/pdf/canvas/font/google_true_type_font.py index 9599b913d..5a6dd14f4 100644 --- a/borb/pdf/canvas/font/google_true_type_font.py +++ b/borb/pdf/canvas/font/google_true_type_font.py @@ -75,7 +75,9 @@ def _download_google_font(font_name: str) -> pathlib.Path: ), f"Unable to find URL for font {font_name}" # download to temporary file - temp_font_file: pathlib.Path = pathlib.Path(tempfile.NamedTemporaryFile(suffix=".ttf").name) + temp_font_file: pathlib.Path = pathlib.Path( + tempfile.NamedTemporaryFile(suffix=".ttf").name + ) with open(temp_font_file, "wb") as fh: fh.write(requests.get(true_type_font_file_url).content) diff --git a/borb/pdf/canvas/layout/text/paragraph.py b/borb/pdf/canvas/layout/text/paragraph.py index 157af5e62..7bbd851ef 100644 --- a/borb/pdf/canvas/layout/text/paragraph.py +++ b/borb/pdf/canvas/layout/text/paragraph.py @@ -175,7 +175,7 @@ def _get_content_box(self, available_space: Rectangle) -> Rectangle: # When using justification, # it is customary to treat the last line of a paragraph separately by simply left or right aligning it, # depending on the language direction. - if self._text_alignment == Alignment.JUSTIFIED and len(lines_of_text) > 1: + if self._text_alignment == Alignment.JUSTIFIED: lines_of_text[-1]._text_alignment = Alignment.LEFT # determine line height diff --git a/release_notes.md b/release_notes.md index 18dd0333c..3fb2ccdc7 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,18 +1,4 @@ # :mega: borb release notes -This release features `GoogleTrueTypeFont` which enables users to access the Google Font API, -to directly use a `TrueTypeFont` in `borb` by specifying its name. - -Tests have been added for this feature: - -- `test_add_paragraphs_using_jacquard_12` -- `test_add_paragraphs_using_pacifico` -- `test_add_paragraphs_using_shadows_into_light` - -Some tests have been added to guard code quality: - -- `TestCodeFilesContainSortedMethods` -- `TestCodeFilesContainVisibilityComments` -- `TestCodeFilesDoNotContainNumbersInMethods` -- `TestCodeFilesNeverUseKeyring` \ No newline at end of file +This release features a minor bugfix in `Paragraph` related to text-alignment `JUSTIFIED`. \ No newline at end of file diff --git a/test-requirements.txt b/test-requirements.txt index 446994737..96f61a8cf 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,7 +1,6 @@ cryptography>=41.0.1 fonttools>=4.38.0 gTTS>=2.4.0 -keyring>=24.3.0 lxml>=4.9.2 markdown-it-py>=3.0.0 matplotlib>=3.8.2 diff --git a/tests/pdf/canvas/layout/artifacts_test_new_layout_methods/output_001.png b/tests/pdf/canvas/layout/artifacts_test_new_layout_methods/output_001.png deleted file mode 100644 index 91123ec36..000000000 Binary files a/tests/pdf/canvas/layout/artifacts_test_new_layout_methods/output_001.png and /dev/null differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_001_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_001_ground_truth.png index 952c8be1b..cb0fa5d4e 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_001_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_001_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_002_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_002_ground_truth.png index 42112be01..ca6954199 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_002_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_002_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_003_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_003_ground_truth.png index 2cc9049c1..1946d218b 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_003_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_003_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_004_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_004_ground_truth.png index ee2124798..cba147d6f 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_004_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_004_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_005_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_005_ground_truth.png index f9501ba24..d093b346b 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_005_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_005_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_006_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_006_ground_truth.png index 0ac786a45..cec7630c6 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_006_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_006_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_007_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_007_ground_truth.png index 3cebc5e8a..6d8ddf992 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_007_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_007_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_008_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_008_ground_truth.png index caec4fc8d..c6d622e74 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_008_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_008_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_009_ground_truth.png b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_009_ground_truth.png index b8c9d66c4..9f63cbf5b 100644 Binary files a/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_009_ground_truth.png and b/tests/pdf/canvas/layout/image/barcode/artifacts_test_add_barcode/output_009_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_001.png b/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_001.png index 36dece548..80becc58e 100644 Binary files a/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_001.png and b/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_001.png differ diff --git a/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_002.png b/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_002.png index 4ff35e20c..dd2b5336e 100644 Binary files a/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_002.png and b/tests/pdf/canvas/layout/image/image/artifacts_test_add_png_image/output_002.png differ diff --git a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_001_ground_truth.png b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_001_ground_truth.png index d61ca6e06..5f02328c7 100644 Binary files a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_001_ground_truth.png and b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_001_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_002_ground_truth.png b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_002_ground_truth.png index aef3af9e0..65e751954 100644 Binary files a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_002_ground_truth.png and b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_002_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_003_ground_truth.png b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_003_ground_truth.png index c694529cf..f350f9ebf 100644 Binary files a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_003_ground_truth.png and b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_003_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004.png b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004.png deleted file mode 100644 index 0df105f71..000000000 Binary files a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004.png and /dev/null differ diff --git a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004_ground_truth.png b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004_ground_truth.png index 222506fdf..ce971d083 100644 Binary files a/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004_ground_truth.png and b/tests/pdf/canvas/layout/image/unsplash/artifacts_test_add_unsplash_image/output_004_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_alignment_justified/output_001_ground_truth.png b/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_alignment_justified/output_001_ground_truth.png new file mode 100644 index 000000000..0fd577d73 Binary files /dev/null and b/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_alignment_justified/output_001_ground_truth.png differ diff --git a/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_paint_box/output_001.png b/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_paint_box/output_001.png index d958461a2..c5fc95238 100644 Binary files a/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_paint_box/output_001.png and b/tests/pdf/canvas/layout/text/paragraph/artifacts_test_add_paragraph_paint_box/output_001.png differ diff --git a/tests/pdf/canvas/layout/text/paragraph/test_add_paragraph_alignment_justified.py b/tests/pdf/canvas/layout/text/paragraph/test_add_paragraph_alignment_justified.py new file mode 100644 index 000000000..e06756ca8 --- /dev/null +++ b/tests/pdf/canvas/layout/text/paragraph/test_add_paragraph_alignment_justified.py @@ -0,0 +1,48 @@ +import random + +from borb.pdf import PDF +from borb.pdf import Alignment +from borb.pdf import Lipsum +from borb.pdf import Paragraph +from borb.pdf import SingleColumnLayout +from borb.pdf import Page +from borb.pdf import Document + +from tests.test_case import TestCase + + +class TestAddParagraphAlignmentJustified(TestCase): + def test_add_paragraph_alignment_justified(self): + + pdf = Document() + page = Page() + pdf.add_page(page) + layout = SingleColumnLayout(page) + layout.add( + self.get_test_header( + test_description="This test adds a Paragraph to the PDF. The Paragraph is aligned JUSTIFIED." + ) + ) + + # mult-line paragraph + random.seed(0) + layout.add( + Paragraph( + Lipsum.generate_lipsum_text(5), text_alignment=Alignment.JUSTIFIED + ) + ) + + # single-line paragraph + layout.add( + Paragraph( + Lipsum.generate_lipsum_text(1), text_alignment=Alignment.JUSTIFIED + ) + ) + + # store + with open(self.get_first_output_file(), "wb") as fh: + PDF.dumps(fh, pdf) + + # compare + self.compare_visually_to_ground_truth(self.get_first_output_file()) + self.check_pdf_using_validator(self.get_first_output_file()) diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_000.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_000.pdf index 6935ba9a5..eb9005218 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_000.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_000.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_001.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_001.pdf index e1420287d..f379a64fa 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_001.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_001.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_002.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_002.pdf index f0ff3547b..51684875e 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_002.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_002.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_003.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_003.pdf index 657509f23..55809a542 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_003.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_003.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_004.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_004.pdf index f81e9455a..b3e5a0129 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_004.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_004.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_005.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_005.pdf index e2433615e..cddae6574 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_005.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_005.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_006.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_006.pdf index dcb974195..c5005ebbd 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_006.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_006.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_007.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_007.pdf index 9796fba3c..2e2e9f276 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_007.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_007.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_008.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_008.pdf index e69e82c2e..e3a501f84 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_008.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_008.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_009.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_009.pdf index 4ee994521..3e899538c 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_009.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_009.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_011.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_011.pdf index e4c26fff1..892f1331c 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_011.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_011.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_012.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_012.pdf index f89d8dd72..2e29f48e3 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_012.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_012.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_013.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_013.pdf index b362af456..d416f6e3d 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_013.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_013.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_014.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_014.pdf index 6945b565e..5fe5b823e 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_014.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_014.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.pdf b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.pdf index 9d83a0214..d6e756564 100644 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.pdf and b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.pdf differ diff --git a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.png b/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.png deleted file mode 100644 index 7f766ef97..000000000 Binary files a/tests/toolkit/export/html_to_pdf/artifacts_test_export_html_to_pdf/example_html_input_015.png and /dev/null differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-001.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-001.pdf index 7c80ee0e5..580b3e57e 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-001.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-001.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-002.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-002.pdf index daa5c4ed1..f0a670b04 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-002.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-002.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-003.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-003.pdf index 4775744a8..2001f7d6c 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-003.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-003.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-004.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-004.pdf index 33c009ef2..11cf9abb6 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-004.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-004.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-005.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-005.pdf index 949acbd63..563c55f53 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-005.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-005.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-006.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-006.pdf index 0714a507f..26115983c 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-006.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-006.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-007.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-007.pdf index 4da8d8a91..b835d5055 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-007.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-007.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-008.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-008.pdf index 6ccadf9c9..317db1708 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-008.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-008.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-009.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-009.pdf index 5db477e20..f64cad988 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-009.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-009.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-010.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-010.pdf index bf76273a4..6a003486e 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-010.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-010.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-011.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-011.pdf index 25898a320..47943d51f 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-011.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-011.pdf differ diff --git a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-012.pdf b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-012.pdf index 8908c49e0..a9f5cdb3e 100644 Binary files a/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-012.pdf and b/tests/toolkit/export/markdown_to_pdf/artifacts_test_export_markdown_to_pdf/example-markdown-input-012.pdf differ diff --git a/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_001.jpg b/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_001.jpg index d058ddf02..338f53439 100644 Binary files a/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_001.jpg and b/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_001.jpg differ diff --git a/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_002.jpg b/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_002.jpg index d058ddf02..338f53439 100644 Binary files a/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_002.jpg and b/tests/toolkit/export/pdf_to_jpg/artifacts_test_export_pdf_to_jpg/output_002.jpg differ diff --git a/tests/toolkit/export/pdf_to_mp3/artifacts_test_export_pdf_to_mp3/output.mp3 b/tests/toolkit/export/pdf_to_mp3/artifacts_test_export_pdf_to_mp3/output.mp3 index e835959c7..b4689beaf 100644 Binary files a/tests/toolkit/export/pdf_to_mp3/artifacts_test_export_pdf_to_mp3/output.mp3 and b/tests/toolkit/export/pdf_to_mp3/artifacts_test_export_pdf_to_mp3/output.mp3 differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_000.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_000.pdf index 7bfe888fe..2d533c0a1 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_000.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_000.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_001.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_001.pdf index 2a59977dc..2274afd0a 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_001.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_001.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_002.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_002.pdf index 5d0f4a35e..e85dd4f13 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_002.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_002.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_003.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_003.pdf index e1d4ae2f0..4bd6589f6 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_003.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_003.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_004.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_004.pdf index 1dcb9c367..be1ff542d 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_004.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_004.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_005.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_005.pdf index 5f9d3a882..4b194fd85 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_005.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_005.pdf differ diff --git a/tests/toolkit/table/artifacts_test_detect_table/input_006.pdf b/tests/toolkit/table/artifacts_test_detect_table/input_006.pdf index 5fe5319c6..4b8fccb5e 100644 Binary files a/tests/toolkit/table/artifacts_test_detect_table/input_006.pdf and b/tests/toolkit/table/artifacts_test_detect_table/input_006.pdf differ