Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Corona-dev] Re: [wtp-dev] Viewing SVG in Mozilla Firefox


Arthur,

Even when this problem is fixed in Mozilla it will still not work for clients who have not upgraded their browsers to the latest version or clients who choose to use older browsers. When the WTP site move to XSLT it was immediately reported that Opera 6.*, Opera 7.*, Mozilla *.*, Firefox 1.0, KDE, Netscape 3.* and Lynx couldn't render the site. [1]

I think where possible we should support as many browsers as possible by performing transforms on the back-end. This way we can reach the widest audience.

[1] http://dev.eclipse.org/newslists/news.eclipse.webtools/msg02245.html


Lawrence Mandel

Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
lmandel@xxxxxxxxxx



Arthur Ryman/Toronto/IBM@IBMCA
Sent by: corona-dev-admin@xxxxxxxxxxxxxxxxxx

04/13/2005 12:47 PM

To
Lawrence Mandel/Toronto/IBM@IBMCA
cc
corona-dev@xxxxxxxxxxxxxxxxxx, corona-dev-admin@xxxxxxxxxxxxxxxxxx, "General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>, wtp-dev-bounces@xxxxxxxxxxx
Subject
Re: [Corona-dev] Re: [wtp-dev] Viewing SVG in Mozilla Firefox






Lawrence,


I expect the SVG support in Mozilla to improve. It is passible now, but not great. Maybe Jeff could report the rendering "bug" to Mozilla. It seems better to correct the problem than to work around it.


There is also an alternative approach, which is to configure Firefox to use the SVG viewer that comes from Adobe. For some reason that wasn't working in Firefox. I'll poke around to see if that can be made to work.


Arthur Ryman,
Rational Desktop Tools Development

phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
intranet: http://labweb.torolab.ibm.com/DRY6/


Lawrence Mandel/Toronto/IBM@IBMCA
Sent by: corona-dev-admin@xxxxxxxxxxxxxxxxxx

04/13/2005 12:22 PM


To
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
cc
corona-dev@xxxxxxxxxxxxxxxxxx, wtp-dev@xxxxxxxxxxx, wtp-dev-bounces@xxxxxxxxxxx
Subject
[Corona-dev] Re: [wtp-dev] Viewing SVG in Mozilla Firefox








Arthur,


The community jumped all over us when we suggested IE be used until the XSLT problem was resolved with the web site. Although this graph is meant for developers, it seems reasonable to expect some people from the community will want to take a look at it as well. Where possible I think we should do page transformations on the back-end to avoid specific browser requirements.

Jeff - Is there a way to generate this graph on the back-end and just send an image to the browser?



Lawrence Mandel

Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
lmandel@xxxxxxxxxx

Arthur Ryman/Toronto/IBM@IBMCA
Sent by: wtp-dev-bounces@xxxxxxxxxxx

04/12/2005 09:11 PM

Please respond to
"General discussion of project-wide or architectural issues."


To
wtp-dev@xxxxxxxxxxx, corona-dev@xxxxxxxxxxxxxxxxxx
cc
Subject
[wtp-dev] Viewing SVG in Mozilla Firefox










SVG graphics were recently added to the API Progress Reports (kudos to Jeffrey Liu). These display nicely in Internet Explorer, but you have to do some work to make them display in Mozilla Firefox, and the result is not good. My recommendation is to use IE until the Mozilla support is ready for prime time.


1. Download the special binary build of Firefox that contains the SVG support.

2. Perform a magic incantation to enable SVG support.

3. The result is passable but not as good as in IE due to the current incomplete state of the support.


If this seems like an irresistable challenge to you, read on.


SVG is not included in the normal Firefox builds. You have to download a special SVG binary from the SVG page [1]. I downloaded the Windows XP GDI+ build [2]. Unzip this and look for firefox.exe in the bin directory.

Next you have to enable svg support. This is proclaimed in the notice:

There has recently been an important change to SVG enabled builds. SVG enabled builds now require you to
set the 'svg.enabled' pref to 'true' before they will render SVG.

There is probably some prefs file you can edit. However, there is a slick way to do this via the browser [3]:

1. Open the magic URL about:config

2. Filter the listing with svg and look at the line that contains svg.enabled

3. This preference is false by default. Double click it to set it to true


Your're now ready to view SVG. For example [4] displays like this in IE:




But like this in Firefox:




[1] http://www.mozilla.org/projects/svg/build.html#win_gdi_dl

[2] ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/contrib/latest-trunk/firefox-win32-svg-GDI.zip

[3] http://weblogs.mozillazine.org/tor/archives/2005/02/important_svg_b.html

[4] http://download.eclipse.org/webtools/downloads/drops/I-I20050412-200504122240/apitools/svg/org.eclipse.jst.server.svg


Arthur Ryman,
Rational Desktop Tools Development

phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
intranet: http://labweb.torolab.ibm.com/DRY6/
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top