[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")
- [elpa] externals/modus-operandi-theme 29c21b4 008/153: Clarify optional prefix arg for demo theme toggle, (continued)
- [elpa] externals/modus-operandi-theme 29c21b4 008/153: Clarify optional prefix arg for demo theme toggle, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme c0a86dd 017/153: Use correct references in GPL, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 40bb497 007/153: Let objed-hl use new colours from commit 39be2c3d3, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2928af0 051/153: Fix broken footnote in 4d594f0ca, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 9f9160f 042/153: Miscellaneous Org tweaks for consistency, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2968c4a 002/153: The themes are now part of upstream GNU Emacs, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 53606c6 011/153: Remove support for obsolete objed-extend face, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 9fed8eb 033/153: Update the manual's example to include new option, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme d9fa0ff 021/153: Add missing metadata to info manual, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme e596487 025/153: Add README in markdown format, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 619e48b 045/153: Tweak custom fonts section in the manual,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 113ab25 032/153: Simplify style of org-special-keyword, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 00f8a28 044/153: Update README to note that the manual is available, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 72c0714 038/153: Add support for eshell-syntax-highlighting, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 0633c2a 047/153: Recompile manual (cover 619e48bbc and decf274f4), Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme d09be79 030/153: Expand docstring of new headings' alist option, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme d5b6321 028/153: Initial implementation of reviewed headings option, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 7789ae9 004/153: Clarify the version numbers that ship with Emacs, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 95ac8b4 020/153: Re-organise new doc files, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 49872b0 031/153: Expand manual with new heading styles alist option, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 3d00716 049/153: Use distinct colour for info-menu-star, Stefan Monnier, 2021/03/18