Closed Bug 646813 Opened 13 years ago Closed 9 years ago

raster/bitmap font used in page text is not scaled correctly in panorama

Categories

(Firefox Graveyard :: Panorama, defect, P4)

4.0 Branch
x86
Windows XP

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: aceman, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(3 files)

When viewing the page http://jaspi.justice.gov.sk/jaspiw1/jaspiw_mini_fr0.htm in Firefox panorama view, the text on the thumbnail is not scaled properly to the thumbnail width. It is always the same even when resizing the thumbnail (by resizing the frame in which the page fits). At low sizes the text overlaps because it overflows its own lines. On other pages the text and its lines are scaled correspondingly.
Comment on attachment 523291 [details]
Screenshot of the problem in the JASPI-WEB tab. On the right is a properly scaled tab.

Screenshot attached.
Attachment #523291 - Attachment description: Screenshot of the problem in the ASPI-WEB tab. On the right is a properly scaled tab. → Screenshot of the problem in the JASPI-WEB tab. On the right is a properly scaled tab.
Blocks: 603789
Priority: -- → P4
It works fine for me on Mac Fx 4 but I see the same problem on Win XP Fx4.
It seems to be a problem with the font. There is a CSS declaration for the problematic text: "font-family: ms sans serif". I changed the value via DOM Inspector to "sans-serif" or "Microsoft sans serif" or even "Microoft sans serif". All these strings fix the problem, the text is scaled properly in Panorama view.

Is "ms sans serif" a valid font or not? How can I check it? Does it map to any other font? Is that resulting font file invalid? Or is the declaration invalid and that is the problem? The CSS declaration is specified as I have written, the string 'ms sans serif' is not quoted. Is that valid?
ms sans serif should be a valid font declaration, it's a little worrisome that a misspelled variant fixes the problem. Perhaps that causes the browser to default to a different font?
No longer blocks: 603789
Yes, that is the current theory:
When using nonexistent (misspelled) font, FF falls back to some default font, that it scaling fine.
Quoting the font name does not have any effect (tested by editing the source).

New findings include:
"MS sans serif" and "Microsoft sans serif" are two separate fonts (font files).
The first one (used by the site) is an ancient RASTER font that only has several predefined sizes. Could that be the problem? That panorama asks the font to draw at 1pt height, but the font uses its lowest available size which is 8pt?
This may depend on bug 653403.
Summary: font of page text in panorama not scaled correctly → raster/bitmap font used in page text is not scaled correctly in panorama
bugspam
No longer blocks: 653099
bugspam
Blocks: 660175
bugspam

(Fx7 was branched, removing open bugs from Fx7 meta bug, we won't create new meta bugs for upcoming Fx versions)
No longer blocks: 660175
Panorama has been removed from Firefox 45, currently in Beta and scheduled for release on March 7th. As such, I'm closing all existing Panorama bugs.

If you are still using Panorama, you will see a deprecation message in Firefox 44, and when 45 is released your tab group data will be migrated to bookmarks, with a folder for each group. There are also a few addons offering similar functionality.

See https://support.mozilla.org/en-US/kb/tab-groups-removal for more info.

We're removing Panorama because it has extremely low usage (about 0.01% of users), and has a large number of bugs and usability issues. The cost of fixing all those issues is far too high to justify, and so we'll instead be focusing our time and energy on improving other parts of Firefox.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: