[webkit-dev] Port-specific OpenType support

Myles C. Maxfield mmaxfield at apple.com
Thu Sep 11 11:44:04 PDT 2014

Hello, Webkittens!

I have started work on an SVG font -> OpenType converter [1] with the intent of eventually getting rid of our code path which lays out and draws text using SVG fonts. The motivation is fourfold:

1) Performance: on OS X the native text libraries are over 1000x faster than our SVG code path.
2) Security: There have been numerous security bugs in the SVG font code path.
3) Code clarity: This would greatly simplify the text rendering code.
4) The next version of SVG is removing SVG fonts completely [2]. Chrome has recently dropped support for SVG fonts [3] and Firefox/IE never had it [4] [5].

My question to WebKit-Dev is: Are there any ports who:
1) Want continued support for SVG fonts, and
2) Whose platforms do not support OpenType fonts natively?

Myles C. Maxfield

[1] http://trac.webkit.org/changeset/173521 <http://trac.webkit.org/changeset/173521>
[2] http://www.w3.org/TR/SVG2/fonts.html <http://www.w3.org/TR/SVG2/fonts.html>
[3] https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/pYbbUcYvlYY/LQvFvM8KZZEJ <https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/pYbbUcYvlYY/LQvFvM8KZZEJ>
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=119490 <https://bugzilla.mozilla.org/show_bug.cgi?id=119490>
[5] http://caniuse.com/#feat=svg-fonts <http://caniuse.com/#feat=svg-fonts>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140911/92cec672/attachment.html>

More information about the webkit-dev mailing list