зеркало из https://github.com/mozilla/gecko-dev.git
Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking]
This commit is contained in:
Родитель
ec26a58b4a
Коммит
b0cfce1c97
|
@ -530,9 +530,6 @@ gfxPlatformGtk::InitDisplayCaps()
|
||||||
if (gfxPlatform::sDPI <= 0) {
|
if (gfxPlatform::sDPI <= 0) {
|
||||||
// Fall back to something sane
|
// Fall back to something sane
|
||||||
gfxPlatform::sDPI = 96;
|
gfxPlatform::sDPI = 96;
|
||||||
} else {
|
|
||||||
// Minimum DPI is 96
|
|
||||||
gfxPlatform::sDPI = PR_MAX(sDPI, 96);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче