W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2008

SVGFont questions

From: Erik Dahlström <ed@opera.com>
Date: Tue, 13 May 2008 11:19:58 +0200
To: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Message-ID: <op.ua25jki3gqiacl@gnorps.palace.opera.no>

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  

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-name name="Helvetica"/>

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?


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

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