diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-12-19 09:44:44 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-23 17:04:27 -0500 |
commit | 53da3a0a7859ce9bc9e3589d298e6a8169276a95 (patch) | |
tree | 0262f91e32db4a745d11f4c3c05a5ec5614a2cbf | |
parent | 375f7e8faf49d433b137a1b06033a92ac9e66778 (diff) | |
download | pango-53da3a0a7859ce9bc9e3589d298e6a8169276a95.tar.gz |
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.
-rw-r--r-- | 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 0b5d7b56..ae277e35 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> |