Increase/decrease font size in an emacs frame (not just buffer)
emacs
Solution
See the Emacs Wiki page about frame zooming.
It tells you about several ways to do this, including commands from libraries zoom-frm.el, doremi-frm.el, and frame-cmds.el.
In particular, the single command `zoom-in/out` lets you zoom either a frame or a buffer in or out. (The former: zooming a frame, is what you requested.)
Problem
Using C-x C-+ and C-x C-- (text-scale-adjust) is very convenient to increase/decrease the font size in one buffer. This is nice to reduce head bumping when a few people work together in front of the same monitor. Is there a way to increase (and later decrease) the font size in one frame (or all frames simultaneously)? I am wondering if there is a way faster than 1- retyping C-x C-+ in each new buffer, 2- Calling M-x x-select-font and using the mouse to choose, and 3- running elisp code in the scratch buffer. Update: If you are interested in satisfying not just 1-3 above but also: ``` 4- Keep the size (and position) of the frame still. ``` Then look at this question.