Well, this is embarassing...
Something's gone wrong in either retrieving or manipulating these review requests. Sorry about that. Please consider filing a bug, and including the following information:
Stack Close
Review Summary
•
Bug #1431337
•
gecko
| Commit | Reviewers |
|---|---|
|
Viewing commit 1 of 2.
Show Other Commits
Next Commit >>
|
|
| stransky | |
See it in Mercurial
Commit(s) successfully landed on autoland
See it in Mercurial
Commit(s) successfully landed on try
Bug 1431337 - Scale content for the actual monitor, not the first one; r?stransky
Review Request #213914 - Created Jan. 18, 2018 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Jan Horak [:jhorak] | |
| gecko | |
| 1431337 | |
| Reviewers | |
| gecko | |
| stransky | |
Bug 1431337 - Scale content for the actual monitor, not the first one; r?stransky
We need to use scaling factor of the monitor on which application is actually positioned. Previously we used ScreenHelperGTK::GetGTKMonitorScaleFactor() which use the first monitor. This does not work on hidpi+normal dpi monitors setup. The GetSystemFontInfo() cannot return scaled value of the font by default monitor scale factor. We need to scale it in nsLookAndFeel::GetFontImpl by aDevPixPerCSSPixel like implementation for Windows does. We also need to check layout.css.devPixelsPerPx because we cannot scale per monitor when this preference is set to positive number. MozReview-Commit-ID: AwT2NvkEqvz
