[pango/wip/matthiasc/font-variations] Make variations test more generic
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/matthiasc/font-variations] Make variations test more generic
- Date: Tue, 19 Dec 2017 14:46:37 +0000 (UTC)
commit a6181bd11ca30ac30b2586a456f023086ecae961
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 19 09:44:44 2017 -0500
Make variations test more generic
Specify just the axis part in the attribute, so this test
can be used with any font supporting font variations.
pango-view/test-font-variations.markup | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/pango-view/test-font-variations.markup b/pango-view/test-font-variations.markup
index 0b5d7b5..ae277e3 100644
--- a/pango-view/test-font-variations.markup
+++ b/pango-view/test-font-variations.markup
@@ -1,9 +1,9 @@
-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>
-<span font_desc="Selawik Variations test @wght=2000">Weight: 2000</span>
+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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]