[gtk/big-glyphs: 7/17] gsk: Test big glyphs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/big-glyphs: 7/17] gsk: Test big glyphs
- Date: Mon, 3 Jun 2019 02:10:17 +0000 (UTC)
commit 1c1d4f32c8fa1964e6f9738994d8767996d15646
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 2 19:13:38 2019 +0000
gsk: Test big glyphs
These are big, but still fit in the glyph cache.
Therefore, the test succeeds.
testsuite/gsk/compare/big-glyph.node | 5 +++++
testsuite/gsk/compare/big-glyph.png | Bin 0 -> 26595 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 6 insertions(+)
---
diff --git a/testsuite/gsk/compare/big-glyph.node b/testsuite/gsk/compare/big-glyph.node
new file mode 100644
index 0000000000..6f73993160
--- /dev/null
+++ b/testsuite/gsk/compare/big-glyph.node
@@ -0,0 +1,5 @@
+text {
+ font:"Cantarell 500";
+ glyphs:"ABC";
+ offset: 0 0;
+}
\ No newline at end of file
diff --git a/testsuite/gsk/compare/big-glyph.png b/testsuite/gsk/compare/big-glyph.png
new file mode 100644
index 0000000000..d029bf21b9
Binary files /dev/null and b/testsuite/gsk/compare/big-glyph.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 5981f131d2..370d865a6b 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -18,6 +18,7 @@ node_parser = executable(
)
compare_render_tests = [
+ 'big-glyph',
'blend-normal',
'blend-difference',
'clip-coordinates-3d',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]