summaryrefslogtreecommitdiffstats
path: root/debian/patches/prefs/Set-DPI-to-system-settings.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:59 +0000
commit4619c1a0ffc127c8f645077f5c322663d8b9b2b3 (patch)
tree070869da410d51f1e532cfb680e493ef847523c7 /debian/patches/prefs/Set-DPI-to-system-settings.patch
parentAdding upstream version 86.0.1. (diff)
downloadfirefox-4619c1a0ffc127c8f645077f5c322663d8b9b2b3.tar.xz
firefox-4619c1a0ffc127c8f645077f5c322663d8b9b2b3.zip
Adding debian version 86.0.1-1.debian/86.0.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/prefs/Set-DPI-to-system-settings.patch')
-rw-r--r--debian/patches/prefs/Set-DPI-to-system-settings.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/prefs/Set-DPI-to-system-settings.patch b/debian/patches/prefs/Set-DPI-to-system-settings.patch
new file mode 100644
index 0000000000..4e20ff3b42
--- /dev/null
+++ b/debian/patches/prefs/Set-DPI-to-system-settings.patch
@@ -0,0 +1,21 @@
+From: Mike Hommey <glandium@debian.org>
+Date: Thu, 13 Mar 2008 20:30:19 +0100
+Subject: Set DPI to system settings
+
+---
+ modules/libpref/init/all.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
+index 7d5b13e..0bf832f 100644
+--- a/modules/libpref/init/all.js
++++ b/modules/libpref/init/all.js
+@@ -2397,7 +2397,7 @@ pref("bidi.browser.ui", false);
+ // A value of 0 means use the system DPI. A positive value is used as the DPI.
+ // This sets the physical size of a device pixel and thus controls the
+ // interpretation of physical units such as "pt".
+-pref("layout.css.dpi", -1);
++pref("layout.css.dpi", 0);
+
+ // pref for which side vertical scrollbars should be on
+ // 0 = end-side in UI direction