[pango/wip/matthiasc/font-variations: 25/30] pango-view: Add a font-variations example
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/matthiasc/font-variations: 25/30] pango-view: Add a font-variations example
- Date: Wed, 3 Jan 2018 12:43:21 +0000 (UTC)
commit a78ce2a8c5e2f250abadf14989dcd8777d09112b
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]