Skip to content

Commit

Permalink
add Iosevka Comfy Fixed in the list of supporting fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
c committed Nov 4, 2024
1 parent 112fcc8 commit 16618f5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
19 changes: 10 additions & 9 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -377,21 +377,22 @@ A monospace character font must be used. It must also support UNICODE.

Not all fonts are born equal.

- =(set-frame-font "DejaVu Sans Mono")=
- =(set-frame-font "Unifont" )=
- =(set-frame-font "Hack" )=
- =(set-frame-font "JetBrains Mono" )=
- =(set-frame-font "Cascadia Mono" )=
- =(set-frame-font "Agave" )=
- =(set-frame-font "JuliaMono" )=
- =(set-frame-font "FreeMono" )=
- =(set-frame-font "DejaVu Sans Mono" )=
- =(set-frame-font "Unifont" )=
- =(set-frame-font "Hack" )=
- =(set-frame-font "JetBrains Mono" )=
- =(set-frame-font "Cascadia Mono" )=
- =(set-frame-font "Agave" )=
- =(set-frame-font "JuliaMono" )=
- =(set-frame-font "FreeMono" )=
- =(set-frame-font "Iosevka Comfy Fixed")=

Those fonts are known to support the required UNICODE characters, AND
display them as monospace. There are fonts advertized as monospace
which give arbitrary widths to non-ASCII characters. That is bad for
the kind of drawings done by =Uniline=.

You may want to try any of the 8 suggested fonts. Just hit the
You may want to try any of the 9 suggested fonts. Just hit the
corresponding entry in the =Uniline= menu, or type =<insert>f=. You may
also execute the above Lisp commands like that:

Expand Down
16 changes: 9 additions & 7 deletions uniline.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
;; - Agave
;; - JuliaMono
;; - FreeMono
;; - Iosevka Comfy Fixed
;;
;; Also, the encoding of the file must support UNICODE.
;; One way to do that, is to add a line like this one
Expand Down Expand Up @@ -1807,12 +1808,11 @@ See `uniline--insert-glyph'."
(:hint nil
:exit nil)
"
╭^─^───────Try a font──^^─────╮╭^─^───^─^──────╮
│_d_ DejaVu │_u_ Unifont ││_*_ ^^configure│
│_h_ Hack │_b_ JetBrains ││_RET_ _q_ exit │
│_c_ Cascadia │_a_ Agave │╰^─^───^─^──────╯
│_j_ JuliaMono │_f_ FreeMono │
╰^─^───────────┴^─^───────────╯"
╭^Try a font╶^──^─^────────────^─^───────────────╮╭^─^───^─^──────╮
│_d_ DejaVu _j_ JuliaMono _u_ Unifont ││_*_ ^^configure│
│_h_ Hack _b_ JetBrains _a_ Agave ││_RET_ _q_ exit │
│_c_ Cascadia _f_ FreeMono _i_ Iosevka Comfy │╰^─^───^─^──────╯
╰^─^────────────^─^────────────^─^───────────────╯"
("d" (set-frame-font "DejaVu Sans Mono"))
("u" (set-frame-font "Unifont" ))
("h" (set-frame-font "Hack" ))
Expand All @@ -1821,6 +1821,7 @@ See `uniline--insert-glyph'."
("a" (set-frame-font "Agave" ))
("j" (set-frame-font "JuliaMono" ))
("f" (set-frame-font "FreeMono" ))
("i" (set-frame-font "Iosevka Comfy Fixed"))
("*" uniline-customize-face :exit t)
("q" () :exit t)
("RET" () :exit t))
Expand Down Expand Up @@ -2161,7 +2162,8 @@ And backup previous settings."
["set font Cascadia Mono" (set-frame-font "Cascadia Mono" )]
["set font Agave" (set-frame-font "Agave" )]
["set font JuliaMono" (set-frame-font "JuliaMono" )]
["set font FreeMono" (set-frame-font "FreeMono" )])
["set font FreeMono" (set-frame-font "FreeMono" )]
["set font Iosevka Comfy Fixed" (set-frame-font "Iosevka Comfy Fixed")])
"----"
["quit Uniline Mode" uniline-mode t] ))

Expand Down

0 comments on commit 16618f5

Please sign in to comment.