summaryrefslogtreecommitdiff
path: root/librewolf/debian/patches/prefs/Set-DPI-to-system-settings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'librewolf/debian/patches/prefs/Set-DPI-to-system-settings.patch')
-rw-r--r--librewolf/debian/patches/prefs/Set-DPI-to-system-settings.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/librewolf/debian/patches/prefs/Set-DPI-to-system-settings.patch b/librewolf/debian/patches/prefs/Set-DPI-to-system-settings.patch
new file mode 100644
index 0000000..86b0af3
--- /dev/null
+++ b/librewolf/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 2cec339..7878e2e 100644
+--- a/modules/libpref/init/all.js
++++ b/modules/libpref/init/all.js
+@@ -2353,7 +2353,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
bgstack15