From a87d4776c02fb7fc1492cf30f453e38879bf72e4 Mon Sep 17 00:00:00 2001 From: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Date: Tue, 3 Sep 2024 23:21:35 +0300 Subject: [PATCH] Add show-text line wrapping test (#4890) --- tests/ref/show-text-line-wrapping.png | Bin 0 -> 225 bytes tests/suite/styling/show-text.typ | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/show-text-line-wrapping.png diff --git a/tests/ref/show-text-line-wrapping.png b/tests/ref/show-text-line-wrapping.png new file mode 100644 index 0000000000000000000000000000000000000000..e54743e586623c1bff7ddd5fc2413845bcd82a65 GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0vp^6+kS_0VEhE<%|3RQY$=N978H@CI7H@Xh^*BD6rdI zSMHwJ|6AV^8g%^b7&tiI-8EBAtbEBm&fB%tU(a1U8N2;{%etOl_SKt2V|D&z{I$=1 z{Jr(Q?En2to6>6T-Tc14Q%~&wd5f!3JDxo*{r~^J>Hp{R|J>iu;ph1G|DJ=FFTDG2 z&$F+F|Ihqw|Nn2=QSW*A<>VdD{@Pc*{r~^;-QYMoo$UXAx35k0ygvWpq->~zwo0%u Y+}m9F_1vY5Js`Jxy85}Sb4q9e0G9o6N&o-= literal 0 HcmV?d00001 diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ index d073f72e..66ae6580 100644 --- a/tests/suite/styling/show-text.typ +++ b/tests/suite/styling/show-text.typ @@ -167,6 +167,11 @@ hi Hello #[ ] \ #[ ] #[ ] world! +--- show-text-line-wrapping --- +#show "start end": "word" +start +end + --- show-text-after-normal-show --- #show rect: "world" #show "lo wo": set text(red)