SVGFont questions

Hello svg-wg,

Since the SVG 1.1 spec says that the <font-face> element is supposed to be  
the equivalent to an @font-face rule in CSS, I'm wondering what is the  
<font-face-src> CSS equivalent is. The <font-face-src> and the  
<font-face-name> elements are loosely "defined" through examples in the  
font chapter and the exact mapping to CSS is to some extent undefined.

It's unclear to me if it's possible to refer to a local font resource (CSS  
spec says 'src: local(BT Century 751 No. 2 Semi Bold Italic")' for  
example).

I'll cite an example, which is output from OmniGraffle 4:

<font-face font-size="22pt" units-per-em="1000"  
underline-position="-75.683594" underline-thickness="49.316406" slope="0"  
x-height="545.45453" cap-height="727.2727" ascent="770.01953"  
descent="-229.98047" font-weight="500">
   <font-face-src>
     <font-face-name name="Helvetica"/>
   </font-face-src>
</font-face>

Anyone care to explain what to make of that? :)

Here are a few of my guesses:
- Overriding metrics of a locally installed font? (don't think so)
- Overriding metrics on some fallback font? (would be weird)
- To be ignored since it doesn't specify font-family? (probably)
   + What if it did specify font-family?

Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Tuesday, 13 May 2008 09:18:33 UTC