- From: Behdad Esfahbod <behdad@google.com>
- Date: Tue, 12 Apr 2016 14:56:01 -0700
- To: Leonard Rosenthol <lrosenth@adobe.com>
- Cc: "public-svgopentype@w3.org" <public-svgopentype@w3.org>, Miguel Sousa <msousa@adobe.com>
- Message-ID: <CAOY=jUS=KdrO1tOgu7nBtA=kMa_XQA9rUBA_dnQq1WJr2MkUgg@mail.gmail.com>
Hi Leonard, IMO, these are the kind of things that make it much harder to support SVG glyphs outside of a browser context. behdad On Tue, Apr 12, 2016 at 6:13 AM, Leonard Rosenthol <lrosenth@adobe.com> wrote: > One our of engineers posted something interesting to an internal list > about how they are exploring using media queries in a glyph description in > an SVG-in-OT font. That got me to thinking. > > Do we believe that MQ’s should be allowed as part of a glyph > description?? And if so, is inside the SVG the right place to put it? > > On one hand, I can see the potential benefits in that it would enable a > form of “hinting”, ensuring that they can be tailored to specific > environments. But it would also concern me that you could get different > looking glyphs on different devices (though that can already happen with > SVG-in-OT fonts between, for example, screen and print). > > But if we want to allow MQ’s - is inside the SVG really the best place? > Because once we’re down in the SVG, it means that there would be no way (at > that I can see) where the MQ could point “out” to the standard glyph > description. And that might be what you want in certain cases, which is > the original description as it’s already well hinted for a particular > device. > > Thoughts?? > > Leonard > > > > > On 4/12/16, 2:47 AM, someone wrote: > > >Has anyone considered using SVG documents with media queries? > >The SVG could contain the various versions of the same graphic, which > would be selected depending on the screen resolution or the size the icon > is being displayed at. > >SVGs can contain both vector and raster artwork, so it seems it could be > a very container for icons. > > > >Attached are two test files I put together. Load them in the browser and > change the width of the window around 900px. > > > >I’m exploring using this in SVG-in-OpenType fonts, BTW. > > > >Miguel > > >
Received on Tuesday, 12 April 2016 21:56:43 UTC