On Wed, 02 Oct 2013 01:06:25 +0200, Philip Rogers <
p...@chromium.org> wrote:
> blink-dev,
>
> I would like to gauge support for deprecating SVG fonts once we have
> DirectWrite on Windows (Emil is driving this in[1]). SVG fonts are
> currently used as a workaround for our poor Windows font rendering.
>
> Why deprecate SVG fonts?
> Due to lack of support, SVG fonts are being dropped from SVG2[2] and
> neither Firefox nor IE support them[3].
The issues are also mentioned in the SVG2 draft,
https://svgwg.org/svg2-draft/fonts.html.
> Some interesting work is going into
> adding SVG to OpenType by Mozilla[4]. I added a UseCounter for
> SVGFontElement and found they are used on less than 0.02% of pages.
It probably won't make a dramatic difference, but note that it's not
necessary for SVGFontFaceElement to be a child of an
SVGFontElement to be usable in the same way as an SVGFontElement.
> SVG fonts are poorly implemented in Blink today and users would be best
> served by not using them.
I'll miss having a simple, reliable* cross-platform font format, easily
scriptable and human-readable, independent from the OS's font engine and
supported by the browser. SVG fonts were unique in that sense.
That said, I agree with your conclusion (particularly given the
performance implications), and won't object to the removal.
/ed
* reliable in the cross-platform rendering sense, and (obviously) not in
the cross-browser sense (due to IE / Firefox). Normal platform fonts (and
webfonts actually) do look different enough across platforms due to what
text rendering engine is used that the only really dependable way is using
pure path data (converting all glyphs -> svg paths), at least if you want
smooth scaling animations and such (and no, 'text-rendering:
geometricPrecision' didn't always help).
--
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog:
http://my.opera.com/macdev_ed