Font matching algorithm and test text-intro-201-t.svg

Hi all,

The test text-intro-201-t.svg contains the following snippet of code:

  <g xml:id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
...
    <text x="257" y="60" font-size="32" font-weight="bold">Bold</text>
...
  </g>

In this example, the SVGFreeSansASCII font does not have a bold equivalent but the sans-serif has. Is it a valid interpretation of the SVG [1], XSLT[2], CSS[3] specs and in particular of the font matching algorithm and of the following quote: "'font-weight' is matched next, it will never fail. (See 'font-weight' below.) " to display the 'Bold' text using the SVGFreeSansASCII font without boldness ?

[1] http://dev.w3.org/SVG/profiles/1.2T/publish/text.html#FontWeightProperty
[2] http://www.w3.org/TR/2006/REC-xsl11-20061205/#font-weight
[3] http://www.w3.org/TR/CSS2/fonts.html#algorithm
-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Mutimedia/Multimedia Group
Département Traitement du Signal et Images
/Dept. Signal and Image Processing
Ecole Nationale Supérieure des Télécommunications
46 rue Barrault
75 013 Paris, France
http://tsi.enst.fr/~concolat 

Received on Wednesday, 5 November 2008 10:38:43 UTC