211.64 KB, image/png
25.76 KB, image/png
29.14 KB, image/png
Created attachment 523291 [details] Screenshot of the problem in the JASPI-WEB tab. On the right is a properly scaled tab. 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.
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?
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
No longer blocks: 653099
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
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.