From e83f55bfeb2d658677a0380a5f8fcf805f9117b2 Mon Sep 17 00:00:00 2001 From: dtzxporter Date: Thu, 1 Feb 2024 20:32:18 -0500 Subject: [PATCH] Re-generate word tests so they don't wrap because that's not what they are testing. --- tests/images/a_hebrew_word.png | 4 ++-- tests/images/an_arabic_word.png | 4 ++-- tests/shaping_and_rendering.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/images/a_hebrew_word.png b/tests/images/a_hebrew_word.png index 1159d48..bfb4c90 100644 --- a/tests/images/a_hebrew_word.png +++ b/tests/images/a_hebrew_word.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:95bbe8f4db74914f6a124547f024463a3e434b3c7be3f86c1464af71ed39bba0 -size 3512 +oid sha256:d412b55f4c5e3ac27c1cf4ebd87adc08bf079a7afa8d385320b75f52ed34072f +size 3522 diff --git a/tests/images/an_arabic_word.png b/tests/images/an_arabic_word.png index d40901b..7a4a765 100644 --- a/tests/images/an_arabic_word.png +++ b/tests/images/an_arabic_word.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba0219c8e226f4bd79e0681a3189013ed035459fd3ed90405ec53d595e70ab81 -size 3851 +oid sha256:cd2cc96243d6e550162a5a51837d95598bcf57690b0851d59cf92e2e3bb9e157 +size 3864 diff --git a/tests/shaping_and_rendering.rs b/tests/shaping_and_rendering.rs index e70bcbe..cb90ff0 100644 --- a/tests/shaping_and_rendering.rs +++ b/tests/shaping_and_rendering.rs @@ -11,7 +11,7 @@ fn test_hebrew_word_rendering() { .font_size(36., 40.) .font_attrs(attrs) .text("בדיקה") - .canvas(100, 60) + .canvas(120, 60) .validate_text_rendering(); } @@ -46,7 +46,7 @@ fn test_arabic_word_rendering() { .font_size(36., 40.) .font_attrs(attrs) .text("خالصة") - .canvas(100, 60) + .canvas(120, 60) .validate_text_rendering(); }