emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this "save practice" (setting default font scale)?


From: Manuel Uberti
Subject: Re: Is this "save practice" (setting default font scale)?
Date: Sat, 21 Nov 2020 08:18:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 21/11/20 07:43, Arthur Miller wrote:
> I was too lazy to refactor my old setup, but it was starting to go high
> in startup time ~2secs from 1.2 so I finally decided to see if I can speed
> it up with early init. This is what I have: 
> 
> ;;; early-init.el ---                                -*- lexical-binding: t; 
> -*-
> 
> (setq gc-cons-threshold most-positive-fixnum)
> 
> (setq frame-inhibit-implied-resize t)
> 
> (push '(menu-bar-lines . 0) default-frame-alist)
> (push '(tool-bar-lines . 0) default-frame-alist)
> (push '(vertical-scroll-bars) default-frame-alist)
> (push '(font . "Anonymous Pro-16") default-frame-alist)
> (custom-set-faces '(default ((t (:height 140)))))
> 
> ;;; early-init.el ends here
> 
> Seems to work nice. (gc threshold is restored in later in setup)
> 

Is there any difference to use custom-set-faces for :family too? Something like:

(custom-set-faces
 '(default ((t (:family "Cascadia Code"
                :height 120
                :weight light)))))

-- 
Manuel Uberti
www.manueluberti.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]