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

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

[elpa] externals/fontaine f3a3ef57ca 2/4: Document support for fixed-pit


From: ELPA Syncer
Subject: [elpa] externals/fontaine f3a3ef57ca 2/4: Document support for fixed-pitch-serif
Date: Sun, 10 Jul 2022 02:57:34 -0400 (EDT)

branch: externals/fontaine
commit f3a3ef57ca3946debd3938f6ab9afd114672c57b
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Document support for fixed-pitch-serif
    
    See commit 28ce11c, which added it.
---
 README.org | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index 3094c76cdd..f685c1c1fe 100644
--- a/README.org
+++ b/README.org
@@ -71,29 +71,36 @@ Fontaine lets the user specify presets of font 
configurations and set
 them on demand on graphical Emacs frames.  The user option
 ~fontaine-presets~ holds all such presets.
 
+[ Support for ~fixed-pitch-serif~ is part of {{{development-version}}} ]
+
 Presets consist of a list of properties that govern the family, weight,
-and height of the faces ~default~, ~fixed-pitch~, ~variable-pitch~,
-~bold~, and ~italic~.  Each preset is identified by a user-defined
-symbol as the car of a property list.  It looks like this (check the
-default value of ~fontaine-presets~ for how everything is pieced
-together):
+and height of the faces ~default~, ~fixed-pitch~, ~fixed-pitch-serif~,
+~variable-pitch~, ~bold~, and ~italic~.  Each preset is identified by a
+user-defined symbol as the car of a property list.  It looks like this
+(check the default value of ~fontaine-presets~ for how everything is
+pieced together):
 
 #+begin_src emacs-lisp
 (regular
- :default-family "Hack"
- :default-weight normal
+ ;; I keep all properties for didactic purposes, but most can be
+ ;; omitted.
+ :default-family "Monospace"
+ :default-weight regular
  :default-height 100
- :fixed-pitch-family "Fira Code"
+ :fixed-pitch-family nil ; falls back to :default-family
  :fixed-pitch-weight nil ; falls back to :default-weight
  :fixed-pitch-height 1.0
- :variable-pitch-family "Noto Sans"
- :variable-pitch-weight normal
+ :fixed-pitch-serif-family nil ; falls back to :default-family
+ :fixed-pitch-serif-weight nil ; falls back to :default-weight
+ :fixed-pitch-serif-height 1.0
+ :variable-pitch-family "Sans"
+ :variable-pitch-weight nil
  :variable-pitch-height 1.0
  :bold-family nil ; use whatever the underlying face has
  :bold-weight bold
- :italic-family "Source Code Pro"
+ :italic-family nil
  :italic-slant italic
- :line-spacing 1)
+ :line-spacing nil)
 #+end_src
 
 The doc string of ~fontaine-presets~ explains all properties in detail



reply via email to

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