emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/modus-operandi-theme 619e48b 045/153: Tweak custom font


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 619e48b 045/153: Tweak custom fonts section in the manual
Date: Thu, 18 Mar 2021 13:47:36 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 619e48bbcafe7567e16552b4fc5bd38f32bee7c9
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Tweak custom fonts section in the manual
---
 doc/modus-themes.org | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/doc/modus-themes.org b/doc/modus-themes.org
index 6b2db3f..4c4d5d5 100644
--- a/doc/modus-themes.org
+++ b/doc/modus-themes.org
@@ -952,13 +952,16 @@ the documentation of =set-face-attribute=, with =M-x 
describe-function=):
 #+end_src
 
 The value of the =:height= attribute essentially is the point size × 100.
-So if you want to use a font at point size =11=, you set the height to
+So if you want to use a font at point size =11=, you set the height at
 =110=.  Values do not need to be rounded to multiples of ten: the likes of
 =115= are perfectly valid.
 
 An alternative syntax, which the author of this documents prefers, is to
-pass all typeface parameters directly to a =font= property.  Note that
-here we use a standard point size.
+pass all typeface parameters directly to a =font= property.[fn:: Has the
+benefit of accepting =fontconfig= parameters (GNU/Linux), such as ="DejaVu
+Sans Mono-11:hintstyle=hintslight:autohint=false"=.
+https://www.freedesktop.org/software/fontconfig/fontconfig-user.html]
+Note that here we use a standard point size:
 
 #+begin_src emacs-lisp
 (set-face-attribute 'default nil :font "DejaVu Sans Mono-11")



reply via email to

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