Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How easily change font size in spacemacs?

How do change the font size in spacemacs? Do I need to download additional packages such as source code font?

I tried changing the font size in the configuration file, but the font size does not change. I am having trouble installing source code font, because the font paths are not registered correctly. The fonts were installed via the instructions provided by open source Adobe. Is there an easier way to do such a simple task in spacemacs?

like image 630
linuxfreebird Avatar asked May 05 '16 04:05

linuxfreebird


People also ask

How do I change font size in SAP script?

Go to Tcode SE71. Provide the script name & Selct the 'Character Format" Radipobutton from the Subobject tab. Now go for Change. There is a Font Button on the rght hand side.

How do I enlarge text in idle?

On the top menu, choose Options , then Configure IDLE . The Fonts/Tabs tab will be displayed. There is a Size button. Click on it and select a bigger size than the default of 10.

How do I resize text in Matlab?

On the Home tab, in the Environment section, click Preferences. Select MATLAB > Fonts and, in the Desktop code font section, select a font size. Specify the font size using font preferences.


Video Answer


2 Answers

In my .spacemacs file I have the following

(defun dotspacemacs/init ()   (setq-default    dotspacemacs-startup-lists '(recents bookmarks projects)    dotspacemacs-default-font '("SourceCode Pro"                                :size 18                                :weight normal                                :width normal                                :powerline-offset 2)) 

Of course you should change the font to your liking. The powerline has some char that goes well with the powerline in spacemacs.

To get to .spacemacs simply type SPC f e d to reload the new file type SPC f e R.

This should do it.
And yes I am an old man with less than optimal eyes, hence the rather large font.

like image 65
khebbie Avatar answered Sep 24 '22 00:09

khebbie


Another way is to use the key sequence "SPC z x" and then press "+/=" key to increase font size or "-" key to decrease font size. Other options are shown on the which-key menu.

like image 32
SpaceNuB1 Avatar answered Sep 25 '22 00:09

SpaceNuB1