Skip to content

Commit

Permalink
Removing useless files
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Mar 3, 2025
1 parent 55bdf5e commit 9546844
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file removed test/text_shaping/NotoSans-Regular.ttf
Binary file not shown.
Binary file removed test/text_shaping/NotoSansArabic-Regular.ttf
Binary file not shown.
3 changes: 2 additions & 1 deletion test/text_shaping/test_bidirectional.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from test.conftest import assert_pdf_equal

HERE = Path(__file__).resolve().parent
FONTS_DIR = HERE / ".." / "fonts"

# The BidiTest.txt file lists the input string as a list of character classes.
# CHAR_MAPPING is mapping one character of each class so we can test the algorithm with a string.
Expand Down Expand Up @@ -175,7 +176,7 @@ def test_bidi_lorem_ipsum(tmp_path):
pdf = FPDF()
pdf.add_page()
pdf.add_font(family="NotoArabic", fname=HERE / "NotoNaskhArabic-Regular.ttf")
pdf.add_font(family="NotoSans", fname=HERE / "NotoSans-Regular.ttf")
pdf.add_font(family="NotoSans", fname=FONTS_DIR / "NotoSans.ttf")
pdf.set_fallback_fonts(["NotoSans"])
pdf.set_font("NotoArabic", size=20)
pdf.set_text_shaping(True)
Expand Down

0 comments on commit 9546844

Please sign in to comment.