[OpenFontLibrary] @font-face, is it really needed for font preview?
nicolas.mailhot at laposte.net
Mon Feb 9 08:24:13 PST 2009
Le Lun 9 février 2009 17:10, Ed Trager a écrit :
> Hi, Nicolas,
> Getting the SVG output small enough would really not be a problem.
> There are serveral ways to do it:
> * One way is to send over the SVG data but be sure to use CSS classes
> for the styling. A lot of SVG graphics programs inline too much style
> information repeatedly, which is uneccessary.
> * Another approach would be to send back the curve data in a more
> classes that flesh out the data into SVG. I've actually taken this
> approach before for loading X-Y plot data dynamically -- see demo at
This all works in a dynamic web context, but to integrate the preview
in static web pages (release notes...) or package preview tools
(packagekit...) you really need a small *standalone* svgz file.
More information about the OpenFontLibrary