summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-18 13:05:39 -0500
committerBehdad Esfahbod <behdad@behdad.org>2018-01-03 12:41:46 +0000
commita78ce2a8c5e2f250abadf14989dcd8777d09112b (patch)
tree8e53af56e044e794699d5619dfe75e96296bc60b
parent3ccb6085580d05bfb0f2dfb77d55eaea1403f45d (diff)
downloadpango-a78ce2a8c5e2f250abadf14989dcd8777d09112b.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.markup8
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>