aboutsummaryrefslogtreecommitdiff
path: root/dillorc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-06-09 21:52:14 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-06-25 20:45:21 +0200
commit06f9083bdeb085b7b9de762fa029f6519e142dbe (patch)
treeb3efca1e52e04f11a2087696d643d3ccfb84993d /dillorc
parent52d9a4726da51b78bc5ed445588efb17f5f4e637 (diff)
Add support for zoom factor
Allows zooming in and out of pages by changing the size of all elements, including font size, images and tables. The initial zoom is specified in the "zoom_factor" option of dillorc. Use the new shortcuts Ctrl+ and Ctrl- to adjust the zoom of the current page and Ctrl 0 to reset it to 100%. When a new tab or window is opened, the current zoom factor is inherited. Each tab retains its own zoom factor. Fixes: https://github.com/dillo-browser/dillo/issues/21
Diffstat (limited to 'dillorc')
-rw-r--r--dillorc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dillorc b/dillorc
index 72f6862e..0b888466 100644
--- a/dillorc
+++ b/dillorc
@@ -95,6 +95,10 @@
# differentiates between tables and, say, textblocks (in some cases).
#adjust_table_min_width=YES
+# Sets the initial zoom factor, which scales the size of all HTML elements.
+# zoom_factor=1.5
+#zoom_factor=1.0
+
#-------------------------------------------------------------------------
# PENALTIES
#-------------------------------------------------------------------------