Nicolas Mailhot wrote: > > Le Lun 9 février 2009 17:10, Ed Trager a écrit : >> Hi, Nicolas, > > Hi Ed, > >> 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 >> minimalistic XML or JSON format, and then actually have Javascript >> 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 >> http://eyegene.ophthy.med.umich.edu/gladiatorcomponents/plot.html > > 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.
Indeed, that would be very useful for both review of existing packages (like we have in Debian were we currently use "convert" from imagemagick which is rather limited in coverage) and for providing specimens in relation with the packages. Most font previewers I've come across use imlib2 from Rasterman, maybe we can ask him to look into that? OTOH I'm wondering if pango-view or fontimage could be extended... Cheers, -- Nicolas Spalinger, NRSI volunteer Debian/Ubuntu font team / OpenFontLibrary http://planet.open-fonts.org
signature.asc
Description: OpenPGP digital signature
