[librsvg/librsvg-2.52: 8/21] New test file for text elements
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.52: 8/21] New test file for text elements
- Date: Fri, 11 Mar 2022 20:37:21 +0000 (UTC)
commit 0a9c95be84833bb2b66b19d50a62c68572aa6ca5
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Mar 8 10:48:01 2022 -0600
New test file for text elements
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/673>
tests/fixtures/text/hello-world.svg | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/tests/fixtures/text/hello-world.svg b/tests/fixtures/text/hello-world.svg
new file mode 100644
index 000000000..45a65c0fe
--- /dev/null
+++ b/tests/fixtures/text/hello-world.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">
+ <style>
+ text {
+ font: 50px Sans;
+ fill: black;
+ }
+ </style>
+
+ <text x="50" y="100">Hello world!</text>
+ <text transform="translate(50, 200) rotate(45)">Hello again!</text>
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]