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

RESOLVED WONTFIX

Status

Firefox Graveyard
Panorama
P4
minor
RESOLVED WONTFIX
7 years ago
2 years ago

People

(Reporter: aceman, Unassigned)

Tracking

(Depends on: 1 bug)

4.0 Branch
x86
Windows XP

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

7 years ago
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.
(Reporter)

Comment 1

7 years ago
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.

Updated

7 years ago
Blocks: 603789
Priority: -- → P4
It works fine for me on Mac Fx 4 but I see the same problem on Win XP Fx4.
(Reporter)

Comment 3

7 years ago
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?

Comment 4

7 years ago
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
(Reporter)

Comment 5

7 years ago
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?
(Reporter)

Comment 6

7 years ago
Created attachment 528821 [details]
List of the relevant font files in C:\Windows\fonts dir.
(Reporter)

Comment 7

7 years ago
This may depend on bug 653403.
(Reporter)

Updated

7 years ago
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

Comment 11

7 years ago
Created attachment 547947 [details]
screenshot panorama preview of google's search results
Depends on: 653403
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
(Assignee)

Updated

2 years ago
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.