W3C home > Mailing lists > Public > www-font@w3.org > April to June 2011

Re: SVG Fonts inside of OpenType fonts? [Cross-post from www-font@w3.org]

From: Ben Weiner <ben@readingtype.org.uk>
Date: Mon, 27 Jun 2011 11:21:23 +0100
Cc: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
Message-Id: <CED751E9-5D38-4163-A5CA-F8C687449D0D@readingtype.org.uk>
To: www-font@w3.org

On 27 Jun 2011, at 10:22, Dr. Olaf Hoffmann wrote:

> Note that a typical fallback for SVG today is to use no fonts at all but
> the path element even without advanced graphical effects, 
> see for example the SVG output of openstreetmap.org .

When you say 'use no fonts at all' do you mean 'embed glyphs into the SVG'?

I used OSM's SVG output last year for a project and there was certainly 'real' text at that time, expressed in the SVG like this:

      <text class="highway-name highway-pedestrian-name" dy="0.35px">
        <textPath xlink:href="#way_normal_2986299" startOffset="50%">Broad Street</textPath>

I know that because I used CSS to format them into a locally-available and not permissively-licensed font before rendering as PostScript :)



Ben Weiner | http://readingtype.org.uk/about/contact.html 
+44 (0) 7780 608 659
Received on Monday, 27 June 2011 10:21:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:43 UTC