[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Adobe SVG plugin, Mozilla & Konq
From: Vadim Plessky <lucy-ples () mtu-net ! ru>
Date: 2001-12-12 5:48:05
[Download RAW message or body]
If somebody missed this announcement, Adobe recently released thier SVG 3.0
plugin for Linux.
http://freshmeat.net/projects/adobesvg/
Adobe SVG Viewer
ššby Peter Sorotokin - Friday, November 30th 2001 16:54 EST
About: The Adobe SVG plugin allows Mozilla-family browsers to view SVG
content on the Web or locally.
SVG is a recently-approved W3C standard for vector graphics.
SVG is XML-based, making it immediately accessible by the whole range of XML
tools.
It also has tremendously rich graphical capabilities, surpassing most or all
other currently used vector graphics
formats.
It can be downloaded from here:
http://download.adobe.com/pub/adobe/magic/svgviewer/linux/3.x/3.0x77/en/adobesvg-3.0-linux-i386.tar.gz
I downloaded it and tried to install.
Despite the fact that Adobe claims support only for RedHat 7.1 (and Mozilla
0.9.1), it works ok with my Linux-Mandrake 8.0 and Mozilla 0.9.5.
You can't click on SVG file inside Mozilla (expected by me behavior after
long KDE usage...), but testcase with OBJECT tag works fine - see it attached.
rect-fill.svg is complementary SVG file (just 211 bytes!... nice for a
graphics file) - it was created in Kontour, just one rectangle with border
and non-gradient filling.
mimeType checkout test also shows that SVG plugin was installed correctly.
Mozilla 0.9.5, list_mimeTypes4.html
- - - - - - - - - - - - - - - - - - - - - - - -
mime 0 Type: [object MimeType]
Type: image/svg+xml
description: Scalable Vector Graphics
Suffixes: svg,svgz
- Plugin: [object Plugin]
name Adobe SVG Viewer
filename /usr/lib/adovesvg/libNPSVG3.so
description Adobe Viewer for W3C's Scalable Vector Graphics format. Click
here for details. length 3
Supported MIME types for this plugin: 3
-0 MIME type: Scalable Vector Graphics
-1 MIME type: Scalable Vector Graphics
-2 MIME type: Scalable Vector Graphics
mime 1 Type: [object MimeType]
Type: image/svg-xml
description: Scalable Vector Graphics
Suffixes: svg,svgz
- Plugin: [object Plugin]
name Adobe SVG Viewer
filename /usr/lib/adovesvg/libNPSVG3.so
description Adobe Viewer for W3C's Scalable Vector Graphics format. Click
here for details. length 3
Supported MIME types for this plugin: 3
-0 MIME type: Scalable Vector Graphics
-1 MIME type: Scalable Vector Graphics
-2 MIME type: Scalable Vector Graphics
mime 2 Type: [object MimeType]
Type: image/vnd.adobe.svg+xml
description: Scalable Vector Graphics
Suffixes: svg,svgz
- Plugin: [object Plugin]
name Adobe SVG Viewer
filename /usr/lib/adovesvg/libNPSVG3.so
description Adobe Viewer for W3C's Scalable Vector Graphics format. Click
here for details. length 3
Supported MIME types for this plugin: 3
-0 MIME type: Scalable Vector Graphics
-1 MIME type: Scalable Vector Graphics
-2 MIME type: Scalable Vector Graphics
-------------------------------------------------------
Now about problem.
NSPluginScan in KDE _crashes_ on scanning directory with Adobe plugin.
I tried either to add /usr/lib/adobesvg to the list of directories to scan,
or to make symlink from $HOME/.netscape/plugins as Adobe recommends for
*unsupported* browsers.
Can someone with knowledge of Netscape plugins architecture to look at this,
please?
[cc'ing Stefan Schimanski, nsplugins maintainer; Stefan, can you comment please?]
I do not want to promote closed-sourced standards (like Adobe closed-sourced
plugin), but until KSVG is ready and works with Konq, I need some working
solution.
Besides, it will be quite useful to compare KSVG with Adove SVG plugin
side-by-side - just to be sure that *our* is better than *their* one :-)
As I can conclude from Adobe's ReadMe.html, included with plugin, Mozilla's
plugin architecture changed somewhere around 0.9.0-0.9.1 releases (spring
time)
So it can be that crash is related to these changes.
P.S. tested with KDE 2.2.2
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
["OBJECT_SVG_mime.html" (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Test - Placing SVG Image (picture) as an Object</title>
<style TYPE="text/css">
body, p {
font-family: "Arial", "Helvetica", "Geneva", sans-serif;
font-size:10pt
}
</style>
</head>
<body>
<H3>Image: rect-fill.svg, exported from Kontour</h3>
<P>Size: 128x128 pixels</P>
<table>
<tr>
<td>
<P>OBJECT width="128" height="128" data="rect-fill.svg" <B>type="image/svg"</B></P>
<object data="rect-fill.svg" type="image/svg" width="128" height="128"
align="left" border="0">
</object>
</td>
</tr>
<tr>
<td>
<P>OBJECT width="128" height="128" data="rect-fill.svg" <B>type="image/svg-xml"</B></P>
<object data="rect-fill.svg" type="image/svg-xml" width="128" height="128"
align="left" border="0">
</object>
</td>
</tr>
<tr>
<td>
<P>OBJECT width="128" height="128" data="rect-fill.svg" <B>type="image/svg+xml"</B></P>
<object data="rect-fill.svg" type="image/svg+xml" width="128" height="128"
align="left" border="0">
</object>
</td>
</tr>
</table>
<p>end of test</p>
</body>
</html>
["rect-fill.svg" (text/html)]
<!DOCTYPE svg ><svg width="45.1555mm" height="45.1555mm" >
<rect width="80" x="26" y="26" rx="0" ry="0" height="80" transform="matrix(1 0 0 1 \
-2 0)" style="fill:#97bce1;stroke:#011e64;stroke-width:2" /> </svg>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic