Skip to content

Commit

Permalink
Update test_font_collection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Nov 19, 2024
1 parent 2f02566 commit ff2662b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/font/test_font_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ def test__repr__():

@pytest.mark.skipif(system() != "Darwin", reason="Test runs only on Darwin")
def test_BM_Kirang_Haerang():
# This is just a temporary test to try what XMX says here: https://discord.com/channels/131816223523602432/710562732973490238/1308566022122377328s
font_collection = FontCollection(use_system_font=True)
strategy = FontSelectionStrategyLibass()

ass_style = AssStyle("BM Kirang Haerang", 400, False)
ass_style = AssStyle("BMKIRANGHAERANG-OTF", 400, False)
font_result = font_collection.get_used_font_by_style(ass_style, strategy)
assert font_result != None
assert font_result.font_face.font_file.filename.is_file()

0 comments on commit ff2662b

Please sign in to comment.