W3C home > Mailing lists > Public > public-svgopentype@w3.org > November 2011

Re: [OpenType] Update on color/animation in OT via SVG; new W3C Community Group

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Wed, 23 Nov 2011 12:44:44 -0800
To: Sairus Patel <sppatel@adobe.com>, "public-svgopentype@w3.org" <public-svgopentype@w3.org>
Message-ID: <CAF2C306.11486%lrosenth@adobe.com>
Good stuff - thanks!!

A bit more on the page compositing item.

On 11/23/11 3:04 PM, "Sairus Patel" <sppatel@adobe.com> wrote:
>- Compositing with the rest of the page:
>  My interface sketch-up did indicate to rasterize a glyph at a
>  particular (x,y) location but was silent on whether it should be
>  composited. My feeling is that compositing should happen if we can get
>  away with a simple enough model. What is done for SVG images placed on
>  an HTML page today in browsers? Does compositing happen?
>  In the CFF and TT model, the rasterizer returns an alpha map that is
>  then composited into the rest of the page.

Perhaps unlike others, I am looking at this feature for NON-WEB content.
If this SVG is inside of a standard OTF font, then it could/will be
installed into a user's OS and they can choose this font in Word or
OpenOffice or InDesign for authoring.  And then there is a high
probability that they'll create a PDF from that content. So, at some point
in the future, all of these non-web applications have be able to render
these new glyph descriptions.  SVG rendering is well defined BUT
traditionally only when considered BY ITSELF.

Now we have a situation where the SVG has to be rendered INTO THE MIDDLE
OF some other context, with all of its state information (ie. Position,
color, alpha/opacity, etc.) applied to the result of the SVG render (since
it can't all be passed in, as SVG doesn't necessary implement all the same
features, or the same feature in the same exact manner).

It may also be worth looking at Postscript/PDF's Type 3 font model (which
was the original impetus for SVG fonts after all) which provides for TWO
DIFFERENT types of glyphs - one which is inherits a set of attributes from
the parent (such as color) and one which does not.  As I don't completely
understand all the use cases for this work, I can't say if it's necessary
- though it's starting to sound it more and moreŠ

Received on Wednesday, 23 November 2011 20:45:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:45:50 UTC