W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2010

Re: ISSUE-2377: Fonts in external use subtrees [SVG Tiny 1.2]

From: Alex Danilo <alex@abbra.com>
Date: Fri, 17 Sep 2010 23:42:26 +1000
Message-Id: <QQ8W8L.Q7FNCFB74IRG@abbra.com>
To: SVG Working Group WG <public-svg-wg@w3.org>
Cc: public-svg-wg@w3.org
Hi Erik,

--Original Message--:
>
>ISSUE-2377: Fonts in external use subtrees [SVG Tiny 1.2]
>
>http://www.w3.org/Graphics/SVG/WG/track/issues/2377
>
>Raised by: Erik Dahlström
>On product: SVG Tiny 1.2
>
>The test[1] references a text element from another svg, and that svg file has an inline svgfont called "MyFont". The referenced text element has 'font-family' set to use the 'MyFont' font.
>
>The main svg file doesn't have that font however, since it wasn't part of the referenced subtree, and so the text element's font-family simply won't be found when rendered in the main svg.
>
>I can't find anywhere in the 1.2T spec that requires the behaviour that this particular subtest is testing.
>
>I'd like to get this clarified.
>
>[1] http://dev.w3.org/SVG/profiles/1.2T/test/svg/linking-refs-203-t.svg

I believe the test struct-use-207-t.svg test similar functionality.

In that test the top left corner gradient id exists in the referenced file
and so should select from the referenced file rather than the parent.

This test is similar - the context of the <use> is in the referenced
document.

Whether this is in the spec. is another question altogether.

Alex
Received on Friday, 17 September 2010 13:43:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC