Skip to content

Commit c0f86fb

Browse files
committed
tweak(core): change font order, prefer fonts with ligatures
1 parent 841f9fa commit c0f86fb

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

core/me-lib.el

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
;; Author: Abdelhak Bougouffa (rot13 "nobhtbhssn@srqbencebwrpg.bet")
66
;; Created: 2023-11-29
7-
;; Last modified: 2025-05-06
7+
;; Last modified: 2025-05-07
88

99
;;; Commentary:
1010

@@ -858,16 +858,16 @@ file dont exist."
858858

859859
(defcustom minemacs-fonts-plist
860860
'(:default
861-
((:family "Iosevka Fixed Curly Slab" :height 110)
862-
(:family "Iosevka Fixed Curly" :height 110)
863-
(:family "Iosevka Comfy Fixed" :height 110)
864-
(:family "Iosevka Comfy Motion Fixed" :height 110)
865-
(:family "Iosevka" :height 110)
866-
(:family "Iosevka Comfy" :height 110)
861+
((:family "Iosevka" :height 110)
867862
(:family "Martian Mono" :height 100)
868-
(:family "Cascadia Code" :height 110)
863+
(:family "Cascadia Code" :height 120 :weight semi-light)
869864
(:family "Fira Code" :height 110)
870865
(:family "Jetbrains Mono" :height 100)
866+
(:family "Iosevka Comfy" :height 110)
867+
(:family "Iosevka Fixed Curly Slab" :height 110)
868+
(:family "Iosevka Fixed Curly" :height 110)
869+
(:family "Iosevka Comfy Fixed" :height 110)
870+
(:family "Iosevka Comfy Motion Fixed" :height 110)
871871
(:family "Hack" :height 110)
872872
(:family "Roboto Mono" :height 100)
873873
(:family "SF Mono" :height 110)
@@ -903,7 +903,8 @@ file dont exist."
903903
(:family "Quivira" :prepend t))
904904
;; Arabic script
905905
:arabic
906-
("Amiri Typewriter"
906+
((:family "Cascadia Code" :height 120 :weight semi-light)
907+
"Amiri Typewriter"
907908
"KacstOne"
908909
"Greta Arabic"
909910
"Scheherazade"
@@ -951,14 +952,14 @@ scaling factor for the font in Emacs' `face-font-rescale-alist'. See the
951952
"Supported scripts, like `latin', `arabic', `han', and so on.")
952953

953954
(defconst +face-attributes
954-
(list :family :foundry :width :height :weight :slant :foreground
955-
:distant-foreground :background :underline :overline :strike-through :box
956-
:inverse-video :stipple :font :inherit :extend)
955+
`( :family :foundry :width :height :weight :slant :foreground
956+
:distant-foreground :background :underline :overline :strike-through :box
957+
:inverse-video :stipple :font :inherit :extend)
957958
"Arguments accepted by the `set-face-attribute' function.")
958959

959960
(defconst +font-spec-keywords
960-
(list :family :foundry :width :weight :slant :adstyle :registry :dpi :size
961-
:spacing :avgwidth :name :script :lang :otf)
961+
`( :family :foundry :width :weight :slant :adstyle :registry :dpi :size
962+
:spacing :avgwidth :name :script :lang :otf)
962963
"Arguments accepted by the `font-spec' function.")
963964

964965
(defun +font--get-valid-args (script-or-face font)

0 commit comments

Comments
 (0)