[OpenFontLibrary] @font-face, is it really needed for font preview?
Khaled Hosny
khaledhosny at eglug.org
Mon Feb 9 08:48:26 PST 2009
On Mon, Feb 09, 2009 at 11:09:37AM -0500, Daniel Johnson wrote:
> On Mon, Feb 9, 2009 at 11:03 AM, Ed Trager <ed.trager at gmail.com> wrote:
> > To write a server-side program that generates a bitmap image of text
> > is fairly simple. To write a server-side program that generates the
> > SVG snippets instead is more work. However such an SVG curve
> > generator would be pretty cool because then you could scale the text
> > dynamically on the client side, change colors using CSS, and generally
> > have a lot of fun playing around with the SVG outlines directly on the
> > client side. So it would be quite cool if someone did it.
>
> It would be trivial to write a FontForge script that generated an SVG
> font anytime someone uploaded a new .otf, .ttf or .sfd file. However,
> browser support for SVG fonts is virtually nonexistent. As I recall
> reading, Firefox support for SVG fonts missed the 3.1 feature
> deadline. It's possible to turn an SVG font into a series of standard
> SVG shapes; all you need to do is a vertical flip and some scaling --
> a simple "transform" attribute on the <g> element surrounding the
> glyph.
But then you forget about showing any CTL or advanced OpenType features
in the font.
Regards,
Khaled
--
Khaled Hosny
Arabic localizer and member of Arabeyes.org team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/openfontlibrary/attachments/20090209/faa78095/attachment.pgp
More information about the OpenFontLibrary
mailing list