From 32b2736d92b3f94343c91e86ad9dc67ec2e453b7 Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 2 Jun 2024 18:54:06 +0200 Subject: renderdocument: handle overlapping double width chars See attached test case; previously, this would result in a missing space in visual mode and a crash in dump mode. --- test/layout/overlapping-double-width-chars.color.expected | 2 ++ test/layout/overlapping-double-width-chars.html | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 test/layout/overlapping-double-width-chars.color.expected create mode 100644 test/layout/overlapping-double-width-chars.html (limited to 'test/layout') diff --git a/test/layout/overlapping-double-width-chars.color.expected b/test/layout/overlapping-double-width-chars.color.expected new file mode 100644 index 00000000..3d30b50f --- /dev/null +++ b/test/layout/overlapping-double-width-chars.color.expected @@ -0,0 +1,2 @@ +う い  + diff --git a/test/layout/overlapping-double-width-chars.html b/test/layout/overlapping-double-width-chars.html new file mode 100644 index 00000000..c1ee0d7d --- /dev/null +++ b/test/layout/overlapping-double-width-chars.html @@ -0,0 +1,7 @@ + +
+
+xあい +
+
+う -- cgit 1.4.1-2-gfad0