Closed Bug 700937 Opened 13 years ago Closed 13 years ago

Scaling of favicons should be either 1x or 2x, never inbetween

Categories

(Firefox for Android Graveyard :: General, defect, P3)

defect

Tracking

(firefox11 fixed, fennec11+)

VERIFIED FIXED
Tracking Status
firefox11 --- fixed
fennec 11+ ---

People

(Reporter: limi, Assigned: sriram)

References

Details

Attachments

(1 file)

Right now, it looks like we scale up favicons and introduce blur/antialias by scaling them to sizes that aren't 1:1 or 2:1.

If the URL bar has enough space on a given device to render the favicon at 2x size, it should do that, otherwise it should render it at 1:1 and center it instead. Scaling 16x16 icons with antialias just looks bad.

(Of course, if there's a 32x32 icon and we have the space, we should use that)

Attached is a screenshot that shows the blurring introduced.
Hm, the favicons should be displaying at 32x32, and upscaled crisply if there's only a 16x16 available. 

The current nightlies seem to be drawing them at 36x36, so they need to come down a bit. And we need to make sure we're using crisp scaling, rather than anti-aliased.
Assignee: nobody → madhava
Can we see why we seem to be doing the 36x36? We should be 2x-ing them to 32px when necessary.
Assignee: madhava → nobody
Assignee: nobody → sriram
Priority: -- → P3
The favicons are using 24x24 in the URL bar and tabs-tray. Since it is in "dip", they seem to be like 36X36 because of the device's dpi.
Depends on: 700936
Bug 700936 fixes the favicon in the URL bar. The rest of the favicons should be decided on a case by case basis.
fixed by bug 700936
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
tracking-fennec: --- → 11+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: