summaryrefslogtreecommitdiffstats
path: root/testfiles/cli_tests/testcases/systemLanguage.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /testfiles/cli_tests/testcases/systemLanguage.svg
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testfiles/cli_tests/testcases/systemLanguage.svg')
-rw-r--r--testfiles/cli_tests/testcases/systemLanguage.svg20
1 files changed, 20 insertions, 0 deletions
diff --git a/testfiles/cli_tests/testcases/systemLanguage.svg b/testfiles/cli_tests/testcases/systemLanguage.svg
new file mode 100644
index 0000000..c650dc9
--- /dev/null
+++ b/testfiles/cli_tests/testcases/systemLanguage.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="500" height="100">
+ <switch id="switch">
+ <!-- some fuzz to probe for crashing issues -->
+ <rect systemLanguage="" width="1" height="1"/>
+ <rect systemLanguage=" " width="1" height="1"/>
+ <rect systemLanguage="_" width="1" height="1"/>
+ <rect systemLanguage="-" width="1" height="1"/>
+ <rect systemLanguage="#" width="1" height="1"/>
+ <rect systemLanguage="-CH" width="1" height="1"/>
+
+ <!-- use rects instead of text to avoid any issues with font rendering -->
+ <!-- note: we don't support the 'allowReorder' attribute yet -->
+ <rect systemLanguage="en" x="10" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="fr" x="110" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="de-CH" x="210" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="es, pt" x="310" y="10" width="80" height="80" fill="#00f"/>
+ <rect x="410" y="10" width="80" height="80" fill="#00f"/>
+ </switch>
+</svg>