- From: Chris Lilley <chris@w3.org>
- Date: Sat, 11 Nov 2017 16:56:11 -0800
- To: Tavmjong Bah <tavmjong@free.fr>, public-svg-wg@w3.org
- Message-ID: <37224199-d6a0-acbc-96e3-ecf7ffc024c0@w3.org>
On 11-Nov-17 02:02, Tavmjong Bah wrote: > This is one feature I don't have good tests for... I'm not sure how to > create a good ref test other than by using a special font. Agreed, a reftest requires another way (like PUA codepoints) to get to the same glyphs. > The best I > have is the example from my blog post which works in at least in > Firefox and Chrome on Linux (and Inkscape if you have the font > installed): > > http://tavmjong.free.fr/blog/wp-content/uploads/FONTFEATURES/font_varia > nts_example.svg Those two work correctly on my Windows 10 (fall update) box on Firefox (57b14) and Chrome Canary 64.0.3265. Everything except stylistic alternates fails in Edge (EdgeHTML 16.16299) as expected, Edge fails similar tests with HTML/CSS as well. I have used Linux Biolinum in other demos, it is very handy for OpenType feature demos. Maybe the license allows modification, to copy glyphs into the PUA? > You can play with font features in the latest released version of > Inkscape (0.92) using the Text and Font dialog, Variants tab. The > development version will also show you visually what is in the OpenType > tables 'salt', 'ss01' etc. if you expand the "Feature Settings" section > (requires a recent version of the harfbuzz library). Downloading a fresh 0.92.2 Win64 now. -- Chris Lilley @svgeesus Technical Director @ W3C W3C Strategy Team, Core Web Design W3C Architecture & Technology Team, Core Web & Media
Received on Sunday, 12 November 2017 00:56:16 UTC