[pango/wip/matthiasc/face-lang: 20/26] pango-view: Add a font-variations example



commit e5b382406df81ad972d2a113c85826702ce43da6
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 18 13:05:39 2017 -0500

    pango-view: Add a font-variations example
    
    This uses markup to demonstrate font variations.
    It nees the 'Selawik Variations test' font.

 pango-view/test-font-variations.markup |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/pango-view/test-font-variations.markup b/pango-view/test-font-variations.markup
new file mode 100644
index 0000000..182498e
--- /dev/null
+++ b/pango-view/test-font-variations.markup
@@ -0,0 +1,8 @@
+Rendering Text using different variations of
+Selawik Variations test:
+<span font_desc="Selawik Variations test @wght=700">Weight: 700</span>
+<span font_desc="Selawik Variations test @wght=600">Weight: 600</span>
+<span font_desc="Selawik Variations test @wght=400">Weight: 400</span>
+<span font_desc="Selawik Variations test @wght=300">Weight: 300</span>
+<span font_desc="Selawik Variations test">Weight: default</span>
+<span font_desc="Selawik Variations test @wght=500">Weight: 500</span>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]