Improve the text of the "Text faces or styles" section

This commit is contained in:
Gerard Vermeulen 2024-03-14 15:37:42 +01:00
parent e488cb26d4
commit b0f90bbcf2
1 changed files with 5 additions and 10 deletions

View File

@ -486,16 +486,11 @@ The code in listing [[lst:configure-face-attributes]] implements those rules.
Listing [[lst:face-setting-functions]] shows that font scaling is easy in case of
proper initialization of all face heights in a frame. To adjust the font size
in windows, invoke src_emacs-lisp{(set-default-face-height)}. To adjust the
font size in the current buffer, type:
1. {{{kbd(s-=)}}} to invoke src_emacs-lisp[:results silent]{(text-scale-adjust
+1)}.
2. {{{kbd(s--)}}} to invoke src_emacs-lisp[:results silent]{(text-scale-adjust
-1)}.
3. {{{kbd(s-0)}}} to invoke src_emacs-lisp[:results silent]{(text-scale-adjust
0)}.
Listing [[lst:face-setting-functions]], [[lst:shadow-org-font-lock-faces]], and
[[lst:shadow-emacs-font-lock-faces]] show tweaks to improve visibility without
theming:
font size in the current buffer, type {{{kbd(s-=)}}} or {{{kbd(s-+)}}} to invoke
src_emacs-lisp[:results silent]{(text-scale-adjust +1)} before making further
adjustments as displayed. Listing [[lst:face-setting-functions]],
[[lst:shadow-org-font-lock-faces]], and [[lst:shadow-emacs-font-lock-faces]] show tweaks
to improve visibility without theming:
1. Fixing the =gtk= background color of the already loaded =region= face.
2. Toggling between a dark and light background by means of
src_emacs-lisp{(invert-default-face)}.