Closed
Bug 461739
Opened 17 years ago
Closed 11 years ago
improper filterRes leads to corrupt-looking fonts
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: drewp, Unassigned)
Details
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1
I was testing filter effects on foreignObject elements, and I found that if the filterRes and the foreignObject sizes hit certain combinations, the text in my foreign html would appear corrupted. The corruption is sometimes a vertical stretch, but sometimes stranger, like another tail on a letter.
Reproducible: Always
Steps to Reproduce:
<?xml version="1.0" standalone="yes"?>
<svg xmlns = "http://www.w3.org/2000/svg">
<defs>
<filter id="filter" filterRes="500" x="0" y="0">
<feGaussianBlur stdDeviation="1"/>
</filter>
</defs>
<foreignObject y="130" width="150" height="500" filter="url(#filter)">
<body xmlns="http://www.w3.org/1999/xhtml">
<div>a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</body>
</foreignObject>
</svg>
| Reporter | ||
Comment 1•17 years ago
|
||
Updated•17 years ago
|
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Comment 2•17 years ago
|
||
Can you provide the testcase as an attachment like you did with the screenshot rather than just pasting it into bugzilla inline please?
| Reporter | ||
Comment 3•17 years ago
|
||
Added SVG source as attachment
Comment 4•17 years ago
|
||
Looks OK to me with the latest trunk. You can get one from here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
If you use that, do you still see the issue?
| Reporter | ||
Comment 5•17 years ago
|
||
It's a lot better, but some widths still have artifacts. My new example shows a funny tail below the 'y' at width=202
| Reporter | ||
Comment 6•17 years ago
|
||
Comment 7•17 years ago
|
||
I all looks fine to me. Can you attach a screenshot of the new attachment please?
| Reporter | ||
Comment 8•17 years ago
|
||
Here's the screenshot. Note the junk under the 'y' when the foreignObject width=202.
This is ubuntu 8.04.1, pango 1.20.5-0ubuntu1, cairo 1.6.0-0ubuntu2. From xdpyinfo:
X.Org version: 1.4.0.90
dimensions: 1440x900 pixels (373x231 millimeters)
resolution: 98x99 dots per inch
Attachment #344844 -
Attachment is obsolete: true
Attachment #344859 -
Attachment is obsolete: true
Comment 9•11 years ago
|
||
filterRes is no longer part of SVG http://www.w3.org/TR/filter-effects/ support has been removed from Firefox.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•