Adds a separate wrapping option to allow word to glyph fallback.

This commit is contained in:
dtzxporter 2024-02-01 21:51:36 -05:00 committed by Jeremy Soller
parent b7f150615d
commit cc75bb66b4
6 changed files with 23 additions and 14 deletions

View file

@ -11,7 +11,7 @@ fn test_hebrew_word_rendering() {
.font_size(36., 40.)
.font_attrs(attrs)
.text("בדיקה")
.canvas(120, 60)
.canvas(100, 60)
.validate_text_rendering();
}
@ -46,7 +46,7 @@ fn test_arabic_word_rendering() {
.font_size(36., 40.)
.font_attrs(attrs)
.text("خالصة")
.canvas(120, 60)
.canvas(100, 60)
.validate_text_rendering();
}