[svgwg] Define "context" for SVG-in-OpenType glyphs

AmeliaBR has just created a new issue for https://github.com/w3c/svgwg:

== Define "context" for SVG-in-OpenType glyphs ==
The SVG spec defines the ["context element"](https://svgwg.org/svg2-draft/painting.html#TermContextElement) for the `context-fill` and `context-stroke` keywords. However, it doesn't include the case of the context element for font glyphs, where the context element should be the element in the document that is using the font for text rendering.  We probably assumed that [the OpenType spec](https://docs.microsoft.com/en-gb/typography/opentype/spec/svg#glyph-rendering) would define it, but it doesn't explicitly, instead referring back to SVG 2.

User agents that support SVG in OpenType fonts (Edge, Firefox, Illustrator) are all consistent about this behavior so it is stable enough to include in SVG 2.0.  (Of course, we still need to get implementation commitments for using these keywords *outside* of fonts, but that's another issue.)

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/462 using your GitHub account

Received on Thursday, 17 May 2018 20:04:01 UTC