summaryrefslogtreecommitdiff
path: root/pango-view/test-font-variations.markup
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-01-03 14:10:44 +0000
committerBehdad Esfahbod <behdad@behdad.org>2018-01-03 14:10:44 +0000
commitb97089825723294cb6d4cc75c6e100c195b84369 (patch)
treeab18fc6ce18af185e3ce1878649b940f695ae0cb /pango-view/test-font-variations.markup
parent4a90fcce32238c3122003355b44b692a629427e2 (diff)
parentcb84dd0d9c65725247304263a28b1876a4eeafe8 (diff)
downloadpango-b97089825723294cb6d4cc75c6e100c195b84369.tar.gz
Merge branch 'font-variations'
Diffstat (limited to 'pango-view/test-font-variations.markup')
-rw-r--r--pango-view/test-font-variations.markup9
1 files changed, 9 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..ae277e35
--- /dev/null
+++ b/pango-view/test-font-variations.markup
@@ -0,0 +1,9 @@
+Rendering Text using weight variations.
+This works with fonts that have OpenType
+font variations.
+<span font_desc="@wght=700">Weight: 700</span>
+<span font_desc="@wght=600">Weight: 600</span>
+<span font_desc="@wght=300">Weight: 300</span>
+<span font_desc="@wght=500">Weight: 500</span>
+<span font_desc="@wght=400">Weight: 400</span>
+<span font_desc="@wght=2000">Weight: 2000</span>