A couple of SVG font questions

Hi.

In SVG 1.1, the content model of the <font-face> element is this:

  * A <font-face> has at most one <font-face-src> and at most one
    <definition-src> element.

  * A <font-face-src> has one or more { <font-face-uri> or
    <font-face-name> element }s.

In SVG Tiny 1.2, the content model of the <font-face> element is this:

  * A <font-face> has zero or more <font-face-src> children.

  * A <font-face-src> has zero or more <font-face-uri> children.


I can understand why <definition-src> was dropped from 1.2T; the
‘definition-src’ descriptor in CSS 2 is exceptionally underdefined and
there are no tests for it in the SVG 1.1 test suite.  Additionally, it
no longer exists in css3-fonts (which is where the @font-face
functionality has moved to).  Can we drop it from 1.1?


Why was <font-face-name> dropped from 1.2T?  It seems to correspond
directly to a local() entry in the @font-face ‘src’ descriptor.  This
still exists in css3-fonts.


It doesn’t seem to make sense to have zero <font-face-uri> children of a
<font-face-src> in 1.2T.  Should we have an erratum for the schema to
require one-or-more?


Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 30 April 2009 01:56:34 UTC