Closed Bug 409211 Opened 18 years ago Closed 12 years ago

low quality svg renderization for native svg player on firefox 2 for windows

Categories

(Core :: SVG, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: maurizio.migliore, Unassigned)

Details

Attachments

(8 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 My SVG is a web client/server application for Maps management. It is well rendered by IE (with adobe svg plugin 3.x) and firefox on linux, but on windows (and on mac) I obtain low quality renderization (without errors). To make you understand, the quality difference is similar (if not the same) to the difference beetwen low and high Adobe plugin's quality (both for images and text). I've tried to set image-rendering and text-rendering svg properties, but they don't take effects (cause Firefox do not supports them I think). Also, I found some differences in about:buildconfig output. In the Firefox-linux case I obtain: about:buildconfig Build platform target i686-pc-linux-gnu Build tools Compiler Version Compiler flags gcc gcc version 4.1.2 20070925 (Red Hat 4.1.2-27) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe c++ gcc version 4.1.2 20070925 (Red Hat 4.1.2-27) -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe Configure arguments --enable-application=browser --prefix=/usr --libdir=/usr/lib --with-system-nspr --with-system-nss --with-system-jpeg --with-system-zlib --with-system-png --with-pthreads --disable-tests --disable-debug --disable-installer '--enable-optimize=-Os -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-xinerama --enable-default-toolkit=gtk2 --disable-xprint --disable-strip --enable-pango --enable-system-cairo --enable-svg --enable-canvas --enable-official-branding NOTE --enable-optimize=-Os -g -pipe-Wp Else, for Firefox-win ... about:buildconfig Build platform target i586-pc-msvc Build tools Compiler Version Compiler flags $(CYGWIN_WRAPPER) cl 12.00.8804 -TC -nologo -W3 -Gy -Fd$(PDBFILE) $(CYGWIN_WRAPPER) cl 12.00.8804 -TP -nologo -W3 -Gy -Fd$(PDBFILE) Configure arguments --enable-application=browser --enable-update-channel=release --enable-official-branding --enable-optimize --disable-debug --disable-tests --enable-static --disable-shared --enable-svg --enable-canvas --enable-update-packaging NOTE --enable-optimize How can I set better quality? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Version: unspecified → 2.0 Branch
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Version: 2.0 Branch → 1.8 Branch
You need to attach an example of the SVG file to this bug, or at least give a URL. If you can, you should also attach PNGs of the rendering under Linux and Windows/OS X, with zoomed areas showing the difference in rendering. As it stands, this is not a bug report, only a complaint. Otherwise this bug should be marked INVALID.
So you mean basically that text looks different. What font/font-families are you using? Can you produce a small (less than 1K) svg file that shows the difference and attach it please? Have you enabled cleartype on Windows, if not does it make a difference when you do? If you design a HTML page with the same fonts and view it on Windows/Linux does it show the same differences? Finally does Firefox 3 (ideally a nightly or if not the new Beta 2) have the same problem? We won't be fixing Firefox 2 but there is still time to address this for Firefox 3.
The difference is not only about text, but including images also. Enabling cleartype, I obtain a change but characters become illegible. As requested, I attach an example so you will notice the differences. Thanks.
Icon and text have less resolution under Firefox than under Explorer
Attached image reporters testcase (obsolete) —
Attached image reporters testcase
Attachment #769469 - Attachment is obsolete: true
Attachment #294645 - Attachment is obsolete: true
This is basically about applying bilinear resampling on scaled images which we've done for some time now.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: