Questions tagged [zooming]

12 questions
22
votes
4 answers

Shrink/Zoom/Scale images in image-mode

With Emacs' doc-view-mode I can easily shrink/zoom/etc PDFs, however, I would like to be able to do the same thing with images. Currently when I open an image I cannot adjust the zoom level to fit it to the frame. I know there is…
Lee H
  • 2,697
  • 1
  • 16
  • 31
2
votes
2 answers

Zoom with mouse-button + scroll wheel?

I'd like to enable changing the font size by holding down the right mouse button and using the scroll-wheel. Emacs does however treat mouse buttons as keys, so this obviously cannot be achieved directly by a straight-forward (define-key ... (kbd…
kdb
  • 1,561
  • 12
  • 21
2
votes
2 answers

Zooming / font sizes / text scaling has a very limited range?

I would like to increase my font size, so I used the C-x C-= keybinding, followed by = to further increase the size. However, it stops zooming far too soon, and I realized that I can only cycle through 8 levels of zoom. I can zoom in twice past…
modulitos
  • 2,432
  • 1
  • 18
  • 36
1
vote
1 answer

Setting the Default Zoom of An Emacs Frame (Without Stutter)?

When launching emacs, I've been manually calling (dotimes (i (or arg 15)) (spacemacs/zoom-frm-in)) to zoom the frame in 15 times over. I actually added this to a script so that it happens every time I launch a new instance of emacs. The problem…
George
  • 879
  • 5
  • 17
1
vote
2 answers

Constant Font Size In `display-line-numbers-mode` When Zooming In And Out

SOLVED The atom-one-dark theme that I was using was the issue. (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/atom-one-dark") (load-theme 'atom-one-dark t) My init.el: (menu-bar-mode -1) (scroll-bar-mode -1) (tool-bar-mode -1) (add-hook…
TechTycho
  • 11
  • 4
1
vote
1 answer

Resizing window with text scaling

I often have multiple windows in emacs. I would like to have a function that modifies the width of a window to a certain value, then scales the text such that the longest line in the buffer fits the window leaving a small margin at the end (e.g. of…
Dilna
  • 1,173
  • 3
  • 10
1
vote
1 answer

scale text in eww with proportional fonts enabled

when i use eww, which is v often, coz i love reading the web by just text in a format i choose, i can scale the text (with C-x +/-) until i enable "proportional fonts" with F. it changes my display text to be the same as my settings for…
user27075
  • 488
  • 3
  • 11
1
vote
1 answer

How can I save the text-scale info when `desktop-save-in-desktop-dir`?

By default, even if I text-scale-decrease in some frames before I desktop-save-in-desktop-dir, when I restart Emacs and desktop-read, all frames show in the default text-scale. How can I save the text-scale info for each frame every time I evoke…
stacko
  • 1,577
  • 1
  • 11
  • 18
1
vote
1 answer

How to save and restore frame zoom settings

Due to DPI differences, every time I switch between working on my laptop screen vs external display, I need to adjust frame zoom levels (SPC z f in spacemacs). I would love to be able to persist the zoom levels by e.g. writing them to a file, so…
0
votes
0 answers

Specify the size of a font in a fontset, but let it be scaled by `text-scale-adjust`

I want to use Inconsolata LGC's Greek with Inconsolata (plain Inconsolata has better hinting than Inconsolata LGC). I've set up a fontset (of course these are things you copy from Stack Exchange) (create-fontset-from-fontset-spec (font-xlfd-name…
Arch Stanton
  • 1,525
  • 9
  • 22
0
votes
1 answer

I can't bind a key to specific commands for some reason

Why can't i remap my keys with the following command in my spacemacs init.el file? (global-set-key (kbd "C-+") 'frm-zoom-in) For some reason,it gives me the following error: Wrong type argument,commandp, frm-zoom-in. When I try to wrap it into a…
0
votes
1 answer

How to loop zoom-frm-in?

Every time I dock/undock I must hit 10 times M-x zoom-frm-in. Since I don't understand the dotimes example in the lisp tutorial I need to know how you would automate this task.
jjk
  • 705
  • 4
  • 16