[gtk/big-glyphs: 1/6] gsk: Test huge glyphs



commit 4aa15680ec8931158ed13b7a5c5a3db7773b3ee7
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 -> 60371 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..ec78944e11
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]