diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-12-18 13:05:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-23 17:04:27 -0500 |
commit | e5b382406df81ad972d2a113c85826702ce43da6 (patch) | |
tree | e4237ef413404369bff8bd66c65fce5079ceef5a | |
parent | 76058679cd8068ee985f11c6c05e6333d83a19dc (diff) | |
download | pango-e5b382406df81ad972d2a113c85826702ce43da6.tar.gz |
pango-view: Add a font-variations example
This uses markup to demonstrate font variations.
It nees the 'Selawik Variations test' font.
-rw-r--r-- | 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 00000000..182498ea --- /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> |