[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/fontaine 920ea3cd89 3/4: Change sample configuration fo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/fontaine 920ea3cd89 3/4: Change sample configuration for completeness |
Date: |
Sun, 10 Jul 2022 02:57:34 -0400 (EDT) |
branch: externals/fontaine
commit 920ea3cd89ec4dd481cc5927f4a1417f0957350d
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Change sample configuration for completeness
---
README.org | 73 +++++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 48 insertions(+), 25 deletions(-)
diff --git a/README.org b/README.org
index f685c1c1fe..1e34860a49 100644
--- a/README.org
+++ b/README.org
@@ -179,8 +179,8 @@ Are Irrelevant in Non-graphical Emacs (because that is
actually true).
:END:
#+cindex: Concise fontaine-presets
-The user option ~fontaine-presets~ may look like this (its default
-value):
+The user option ~fontaine-presets~ may look like this (though check its
+default value before you make any edits):
#+begin_src emacs-lisp
(setq fontaine-presets
@@ -476,37 +476,60 @@ Remember to read the relevant doc strings.
(setq fontaine-latest-state-file
(locate-user-emacs-file "fontaine-latest-state.eld"))
+;; Iosevka Comfy is my highly customised build of Iosevka with
+;; monospaced and duospaced (quasi-proportional) variants as well as
+;; support or no support for ligatures:
+;; <https://git.sr.ht/~protesilaos/iosevka-comfy>.
+;;
+;; Iosevka Comfy == monospaced, supports ligatures
+;; Iosevka Comfy Fixed == monospaced, no ligatures
+;; Iosevka Comfy Duo == quasi-proportional, supports ligatures
+;; Iosevka Comfy Wide == like Iosevka Comfy, but wider
+;; Iosevka Comfy Wide Fixed == like Iosevka Comfy Fixed, but wider
(setq fontaine-presets
- '((regular
- :default-family "Hack"
- :default-weight normal
- :default-height 100
- :fixed-pitch-family "Fira Code"
- :fixed-pitch-weight nil ; falls back to :default-weight
- :fixed-pitch-height 1.0
- :variable-pitch-family "Noto Sans"
- :variable-pitch-weight normal
- :variable-pitch-height 1.0
- :bold-family nil ; use whatever the underlying face has
- :bold-weight bold
- :italic-family "Source Code Pro"
- :italic-slant italic
- :line-spacing 1)
+ '((tiny
+ :default-family "Iosevka Comfy Wide Fixed"
+ :default-height 70)
+ (small
+ :default-family "Iosevka Comfy Fixed"
+ :default-height 90)
+ (regular
+ :default-height 100)
+ (medium
+ :default-height 110)
(large
- :default-family "Iosevka"
- :default-weight normal
- :default-height 150
+ :default-weight semilight
+ :default-height 140
+ :bold-weight extrabold)
+ (presentation
+ :default-weight semilight
+ :default-height 170
+ :bold-weight extrabold)
+ (jumbo
+ :default-weight semilight
+ :default-height 220
+ :bold-weight extrabold)
+ (t
+ ;; I keep all properties for didactic purposes, but most can be
+ ;; omitted. See the fontaine manual for the technicalities:
+ ;; <https://protesilaos.com/emacs/fontaine>.
+ :default-family "Iosevka Comfy"
+ :default-weight regular
+ :default-height 100
: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 "FiraGO"
- :variable-pitch-weight normal
- :variable-pitch-height 1.05
+ :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 "Iosevka Comfy Duo"
+ :variable-pitch-weight nil
+ :variable-pitch-height 1.0
:bold-family nil ; use whatever the underlying face has
:bold-weight bold
- :italic-family nil ; use whatever the underlying face has
+ :italic-family nil
:italic-slant italic
- :line-spacing 1)))
+ :line-spacing nil)))
;; Recover last preset or fall back to desired style from
;; `fontaine-presets'.