[gtk/big-glyphs: 2/7] gsk: Test huge glyphs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/big-glyphs: 2/7] gsk: Test huge glyphs
- Date: Sun, 2 Jun 2019 22:25:57 +0000 (UTC)
commit 017fcc1d6c36c429031c760a68cde4d823d8e259
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 2 19:14:34 2019 +0000
gsk: Test huge glyphs
These don't fit in the glyph cache.
Thus the test fails.
testsuite/gsk/compare/huge-glyph.node | 5 +++++
testsuite/gsk/compare/huge-glyph.png | Bin 0 -> 60401 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 6 insertions(+)
---
diff --git a/testsuite/gsk/compare/huge-glyph.node b/testsuite/gsk/compare/huge-glyph.node
new file mode 100644
index 0000000000..7ea22ec2e3
--- /dev/null
+++ b/testsuite/gsk/compare/huge-glyph.node
@@ -0,0 +1,5 @@
+text {
+ font:"Cantarell 1000";
+ glyphs:"ABC";
+ offset: 0 0;
+}
\ No newline at end of file
diff --git a/testsuite/gsk/compare/huge-glyph.png b/testsuite/gsk/compare/huge-glyph.png
new file mode 100644
index 0000000000..534d632b50
Binary files /dev/null and b/testsuite/gsk/compare/huge-glyph.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 370d865a6b..a3563f11b4 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -46,6 +46,7 @@ compare_render_tests = [
'empty-text',
'empty-texture',
'empty-transform',
+ 'huge-glyph',
'opacity_clip',
'outset_shadow_offset_both',
'outset_shadow_offset_x',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]