Closed
Bug 894683
Opened 9 years ago
Closed 9 years ago
DPI reporting off by factor of 1000 on gonk-jb
Categories
(Core Graveyard :: Widget: Gonk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: mwu, Assigned: mwu)
References
Details
Attachments
(1 file)
1.51 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
I screwed this up in the gonk-jb port. dbaron helped me figure out that the widget backend was reporting an improbable dpi. The wrong dpi causes the font inflation logic to break sites like nytimes.
Attachment #776773 -
Flags: review?(vladimir)
Comment on attachment 776773 [details] [diff] [review] Fix dpi reporting on gonk-jb / 1000.0f for sanity (though I don't know the type of values[2]...)
Attachment #776773 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 2•9 years ago
|
||
values[2] is an int.
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/97222fa19573
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/97222fa19573
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Looks like this patch is making font size too small in settings app and also browser urlinput bar stops working with this patch. I tested with jb_gonk and WVGA display.
Hi michael, Is there any other dependency of this patch https://hg.mozilla.org/mozilla-central/rev/97222fa19573? Thanks
Flags: needinfo?(mwu)
Assignee | ||
Comment 7•9 years ago
|
||
I don't think so. Is the hwc module reporting the dpi correctly?
Flags: needinfo?(mwu)
Assignee | ||
Comment 8•9 years ago
|
||
Also, if you're testing on a tablet, the dpi there may violate some assumptions we have in our code which tend towards assuming phone sized devices. At any rate, it would be good to sanity check the dpi value being reported.
Comment 9•9 years ago
|
||
(I'm pretty sure Tapas is not using a tablet)
Blocks: 892276
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•