The inspector in DevTools has a Fonts panel already. For now, it only lists the fonts currently used by the selected element. It can also list all fonts used on the page. We would love to make this panel more useful and expose things like variations. As Xidorn said, if we could have an API that lists those for us, then we could pretty easily add a UI to the panel that lets people explore the fonts. It sounds like that could be very useful.
Finally, this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1280162 is about exposing OpenType features like ligature for a given font in the Fonts panel. And, related to this, we also have this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1280163 where we would like to have the Fonts panel list all the glyphs that a font contains. I'll file a specific bug for the variations technology and will cc Jonathan. Thanks, Patrick On Tue, Dec 6, 2016 at 8:30 PM, Jonathan Kew <jfkth...@gmail.com> wrote: > On 06/12/2016 19:04, Xidorn Quan wrote: > >> On Tue, Dec 6, 2016, at 01:28 AM, Jonathan Kew wrote: >> >>> DevTools bug: It's not yet clear to me whether specific DevTools work >>> will be needed, beyond the support we'll automatically get for a new CSS >>> property. >>> >> >> I think DevTools may want to display a panel which lists all available >> variation axis supported by the font, and allow developers to adjust >> them. >> > > Yes, perhaps something like that would be useful. Though we don't do > anything along those lines for OpenType font features at present. If > DevTools is to start exposing details of "font capabilities", both features > and variations should be treated similarly. > > I think that makes it a broader topic, not directly linked to variations, > which would be just one among various details that could be exposed via a > DevTools "font inspector". > > JK > > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform