<div dir="ltr">Hi, Dave,<br><br>I don&#39;t have time to look at how they are doing this specifically.&nbsp; <br><br>I previously thought about doing a similar thing.&nbsp; In my version, I was going to have a C++ program on the server using Pango and Freetype to get at the glyph outlines and then just spit out the outlines as SVG vectors.&nbsp; I wasn&#39;t even going to use the SVG font specification -- just plain SVG graphics.&nbsp; But of course I never got around to doing it.<br>
<br>So instead I wrote the version that spits out PNG files using Cairo -- PNG files provide a cross-browser solution while SVG does not.&nbsp; <br><br>In a similar vein, one can also imagine a program that would generate CANVAS graphics.&nbsp; Combined with Google&#39;s CANVAS-to-IE-VML javascript package, such a contrivance could probably be cross-browser.<br>
<br>But why bother? Liam says you can now embed a CFF font in an SVG document, but it sounds like only the Adobe plugin actually support that -- and even then, does it really support the advanced OpenType features needed for many scripts and orthographies?&nbsp; I kind of doubt it ...<br>
<br>The better solution is to have browser support for the @font-face rules.&nbsp; That way the browser can take advantage of either Freetype-Pango-HarfBuzz-Cairo or the OS&#39; native support for OpenType features.&nbsp; And maybe someday we will also have Graphite integration in the FOSS type rendering stack too, which would also be very beneficial.<br>
<br>With WebKit under the hood, Google&#39;s Chrome browser will be easily able to support @font-face as soon as the developers decide to turn this feature on.&nbsp; So then we will have Safari and Chrome with @font-face support.&nbsp; And doesn&#39;t Opera have it too?&nbsp; We&#39;ll have to see where Firefox falls out on this -- I don&#39;t currently understand the state of progress on @font-face support in FF.<br>
<br>In any case, as George Williams points out, Dojo&#39;s solution doesn&#39;t change anything on the licensing front.&nbsp; Is the Dojo developer Tom Trenka really suggesting that their SVG solution avoids licensing issues?&nbsp; If so, I wonder what he was smoking?<br>
<br>Best - Ed Trager<br><br><div class="gmail_quote">On Tue, Sep 9, 2008 at 4:36 AM, Dave Crossland <span dir="ltr">&lt;<a href="mailto:dave@lab6.com">dave@lab6.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Those smart dojotoolkit guys have been thinking about web fonts and<br>
come up with some very clever stuff :-)<br>
<br>
<a href="http://www.sitepen.com/blog/2008/09/08/custom-fonts-with-dojoxgfx/" target="_blank">http://www.sitepen.com/blog/2008/09/08/custom-fonts-with-dojoxgfx/</a><br>
<br>
Here&#39;s the &#39;serious&#39; demo:<br>
<br>
<a href="http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/demo.html" target="_blank">http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/demo.html</a><br>
<br>
And here&#39;s the &#39;fun&#39; demo which I think has A LOT of potential for OFLB:<br>
<br>
<a href="http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/comic.html" target="_blank">http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/comic.html</a><br>
<br>
I guess its not as internationalised as Ed Trager&#39;s stuff, but it<br>
might complement them, for example giving charts of charset coverages:<br>
<br>
<a href="http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/charts.html" target="_blank">http://archive.dojotoolkit.org/nightly/dojotoolkit/demos/fonts/charts.html</a><br>
<br>
--<br>
Regards,<br>
<font color="#888888">Dave<br>
</font></blockquote></div><br></div>