Closed
Bug 527750
Opened 15 years ago
Closed 15 years ago
Fonts are too large when styled using physical sizes
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
fennec1.0
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
For some reason the fonts are just way to big. Works fine in microb on N900.
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Comment 1•15 years ago
|
||
Looks horrible on desktop too
Assignee | ||
Comment 2•15 years ago
|
||
Removing the body { font-size: 10pt; } fixes the font appearance
Comment 3•15 years ago
|
||
This is the same on http://blogs.mercurynews.com/kawakami/ and blog.mozilla.com/addons/ I believe.
Comment 4•15 years ago
|
||
Sorry for the double post, but this should also block fennec I think. Please marking this as blocking-fennec? after bug 528867 is fixed.
Assignee | ||
Comment 6•15 years ago
|
||
A general summary of the problem: Devices have small screens, but high DPI. So a webpage might fit nicely into the 800px width of the N900/N810 screen. Default fonts are sized using pixels, so the text appears to be scaled appropiately, where "appropriately" means the text is small (maybe even hard to read). The browser allows the webpage to be "zoomed" without reflow so the text can be read. However, if some text is styled with physical sizes (pt, mm, in), then the platform will try to size the text to the physical dimension. The problem is this: 800px on a 20 inch desktop monitor (96 DPI) means the 16pt (0.22 inches) font might look fine. On the 3.5 inch mobile device (265 DPI), the 16pt (0.22 inches) font looks enormous. Think of it this way: on a 20 inch monitor, 16pt (0.22 inches) is about 1% of the screen size. On the 3.5 inch mobile device, 16pt (0.22 inches) is about 6% of the screen size. Everything else being equal (or pixel based in this case), the font difference is out of balance.
Summary: Fonts are too large on thenokiablog.com → Fonts are too large when styled using physical sizes
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6) > However, if some text is styled with physical sizes (pt, mm, in), then the > platform will try to size the text to the physical dimension. The problem is > this: 800px on a 20 inch desktop monitor (96 DPI) means the 16pt (0.22 inches) > font might look fine. On the 3.5 inch mobile device (265 DPI), the 16pt (0.22 > inches) font looks enormous. Even though the fonts are actually the same size on both screens: 0.22 inches is the same everywhere. It's the out-of-balance part that makes the 0.22 inch font now look way too big.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → mark.finkle
Assignee | ||
Comment 8•15 years ago
|
||
fixed by bug 531102 and bug 530931
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Post-B5
Comment 9•15 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2b5pre) Gecko/20091130 Firefox/3.6b5pre Fennec/1.0b6pre and Mozilla/5.0 (X11; U; Linux armv6l; Nokia N8xx; en-US; rv:1.9.3a1pre) Gecko/20091130 Firefox/3.7a1pre Fennec/1.0b5
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Flags: in-litmus?
Comment 10•14 years ago
|
||
We need to create a local test page that includes variations of text sizing mentioned in commet #6 before we can add this testcase to litmus. I'll get to it when I get the chance to do so.
Updated•14 years ago
|
Component: Linux/Maemo → General
OS: Linux → Linux (embedded)
QA Contact: maemo-linux → general
Hardware: x86 → ARM
Comment 11•14 years ago
|
||
I'm reassigning this to myself for adding litmus testcases for this (aakashd discussed this on irc with blassey and ted on #mobile).
Assignee: mark.finkle → martijn.martijn
Updated•14 years ago
|
Assignee: martijn.martijn → mark.finkle
Flags: in-litmus? → in-litmus?(martijn.martijn)
Updated•9 years ago
|
tracking-fennec: 1.0+ → ---
Flags: in-litmus?(martijn.martijn)
You need to log in
before you can comment on or make changes to this bug.
Description
•