From 221609b11c5c184a59249632a1f00fc908758c3c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 28 Oct 2023 20:35:28 +0200 Subject: [PATCH] Add regression test for #80 --- tests/ref/bugs/emoji-linebreak.png | Bin 0 -> 287 bytes tests/typ/bugs/emoji-linebreak.typ | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 tests/ref/bugs/emoji-linebreak.png create mode 100644 tests/typ/bugs/emoji-linebreak.typ diff --git a/tests/ref/bugs/emoji-linebreak.png b/tests/ref/bugs/emoji-linebreak.png new file mode 100644 index 0000000000000000000000000000000000000000..6944233d8f81b291d1d0090678afefff84011d97 GIT binary patch literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^6+j%x!3-o1c?lE)DVqSF5ZC`eaR1@|^Oyb~IP!4+ zgI|{vZmqxZfBw>cb3OhCFa)>GN-WwS+;8_^K+ZH`!8G}a{~7rD`8zupnt%rUWS-Ls zq~>|LIEGZrd3*LES5tt9%f-nvr!7tU`+xtpJA2y&lMM9U{IxRBzE`i+(Ae0>TOcD~ zfC@G=?JmBUng8LyN@nN(HH1a N22WQ%mvv4FO#oC-d(8j< literal 0 HcmV?d00001 diff --git a/tests/typ/bugs/emoji-linebreak.typ b/tests/typ/bugs/emoji-linebreak.typ new file mode 100644 index 000000000..2f7e74e7f --- /dev/null +++ b/tests/typ/bugs/emoji-linebreak.typ @@ -0,0 +1,6 @@ +// Test that there are no linebreaks in composite emoji (issue #80). + +--- +#set page(width: 50pt, height: auto) +#h(99%) 🏳️‍🌈 +🏳️‍🌈