[mpeg-OTspec] AHG Kick-off and new draft to review
Levantovsky, Vladimir
vladimir.levantovsky at monotype.com
Fri Nov 21 20:53:51 CET 2014
Thank you Cameron for clarifying and providing an example for defining a default color.
Sairus, I believe this provides an answer to one of your question about what could be done if a particular color variable isn't defined in CPAL but doesn't address another issue about hard-coded color that Chris Lilley raised in his comment. Could you please provide the suggested changes to the language Chris Lilley proposed?
Thank you,
Vladimir
-----Original Message-----
From: Cameron McCormack [mailto:cam at mcc.id.au]
Sent: Thursday, November 20, 2014 9:28 PM
To: Sairus Patel
Cc: Chris Lilley; Levantovsky, Vladimir; mpeg-OTspec at yahoogroups.com
Subject: Re: [mpeg-OTspec] AHG Kick-off and new draft to review
Sorry for my slow reply here.
Sairus Patel wrote:
> The spec draft example shows:
>
> <path fill="var(--color0)" d="..."/>
>
> But doesn't show how to code a default value if --color0 isn't defined
> in the stylesheet. I thought we had it there in some previous draft.
> Cameron: does this ring a bell?
I don't remember an example that demonstrated how to do that. But you can do it like this:
<path fill="var(--color0, yellow)" d="..."/>
to use yellow when the --color0 variable is not defined.
More information about the mpeg-otspec
mailing list