Mon, 17 Oct 2005

Installing the Adobe SVG viewer with Debian stable

I find more and more projects using the SVG format for vector graphics on web pages. Unfortunately there is no Free Software plugin for Mozilla or Firefox to display SVG files. Adobe does make a non-free plugin, built against Redhat 9 but not in RPM format. It installs easy enough on Debian but actually getting it to display an SVG file is another thing entirely. Fortunately, Mozilla gave a helpful error message, which cleared everything up. You need to enable TrueType2 fonts for your Mozilla compatible browsers and install some TT fonts to actually see anything in an SVG file. You can find the file referenced in the documentation at /usr/lib/mozilla/defaults/pref/debian.js. If you only have Firefox installed and not Mozilla and the default kernel for sarge, it appears that this plugin doesn't work at all. Or maybe it's the nvidia graphics driver. Who knows. Fuck closed source binaries for Linux.

The above instructions are dependent on some Debian packages, most notably, libfreetype6, libttf2 and ttf-freefont. In proper Debian syntax apt-get install libfreetype6 libttf2 ttf-freefont. The last package gives you some default TT fonts to work with. You can see all the fonts available with apt-cache search ttf-

That's it. Go here to test your plugin installation after restarting your browser.

posted at: 21:46 | path: /debian | permanent link to this entry

About

I work with communications, open source software, sound and video. I'm the most happy when I work on all of these things at once. Sounds, Systems, Robots, Rocking Tigers.

CV?
(.doc | .odt | .pdf)


October 2008
Sun Mon Tue Wed Thu Fri Sat
     
 


Links


Archives