Closed Bug 389824 Opened 17 years ago Closed 17 years ago

full page zoom doesn't work with SVG (doesn't zoom at all, or only text)

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 389769

People

(Reporter: steffen.wilberg, Unassigned)

Details

Bug 4821 implemented full page zoom for normal webpages. But that doesn't work right with SVG images. Bug 163068 already implemented the SVG backend for zooming, but that's apparently not hooked up for full page zoom.

Install http://ted.mielczarek.org/code/mozilla/fullpagezoom.xpi or evaluate this in Firefox's error console:
top.window.opener.getBrowser().markupDocumentViewer.fullZoom = 1.5

Open http://de.wikipedia.org/wiki/Bild:Svg.svg and zoom in. Note that the svg image gets larger, but instead of being redrawn at the higher resolution, it looks like zooming in a bitmap image, with zigzag lines.

Now open just the svg image itself:
http://upload.wikimedia.org/wikipedia/commons/1/15/Svg.svg
Zooming only affects the text "SVG" (zooming in makes it larger).

Most other examples like http://www.croczilla.com/svg/samples/tiger/tiger.svg doesn't react at all to zooming.

But this one actually gets smaller when zooming in:
http://upload.wikimedia.org/wikipedia/de/e/e2/SVG-Logo.svg
If you could re-add the dependencies over in bug 389769, that would be great.
No longer blocks: pagezoom, zoompan
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.