Closing ACTION-2958, please retest text-dom-02 and text-dom-05

Hello,

I completed my action

ACTION-2958: Provide alternate font for tp://dev.w3.org/SVG/profiles/1.1F2/test/svg/text-dom-05-f.svg to test the DOM methods if SVGFonts is not implemented (using WOFF or some other font)

text-dom-02-f.svg and text-dom-05-f.svg are affected.

It turned out to be a bit complex, and implementations should retest both of these tests, regardless of whether they support SVG fonts.

The original font which was inlined in the body of the test had a number of problems. For one thing it was missing the required units-per-em attribute, so all of the various advance widths were not relative to anything. Its a wonder the test worked at all for anyone.

I split the font out into another file, added units-per-em (clearly intended to be 1000, from reading the test) and also ascent and descent attributes, because FontForge considered the font 'corrupted' and would not read it until I had worked on it a little.

Having done that, there were some winding rules issues which prevented the font exporting as OpenType (and thus as WOFF). Because correcting those made a change, and because I wanted the SVG and WOFF alternatives to be strictly compatible, I expoted both a WOFF and also a new SVG font. This is the one that the two tests above now link to.

To keep things together I created a new directory under resources, called Plane1. This has the exported SVG font, the FontForge sources (sfd) in case further edits are required, and also an xml metadata file for the WOFF, which puts the font under the W3C testsuite license. Tat file is generic and could be used as-is for any other woffs we make for the test suite.

Because of how Firefox interprets same-origin restrictions when reading from local disk (not sure if IE9 does it the same way) the generated woff is in a directory called woffs, a child of the svg directory.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups

Received on Friday, 25 February 2011 00:17:04 UTC