Skip to content

Commit

Permalink
add JuliaMono in the list of supporting fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
c committed Oct 31, 2024
1 parent e2a8524 commit 61c0116
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,14 @@ Not all fonts are born equal.
- =(set-frame-font "JetBrains Mono" )=
- =(set-frame-font "Cascadia Mono" )=
- =(set-frame-font "Agave" )=
- =(set-frame-font "JuliaMono" )=

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 6 suggested fonts. Just hit the
You may want to try any of the 7 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
18 changes: 11 additions & 7 deletions uniline.el
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
;; - JetBrains Mono
;; - Cascadia Mono
;; - Agave
;; - JuliaMono
;;
;; 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 @@ -1803,17 +1804,19 @@ See `uniline--insert-glyph'."
:hint nil
:exit nil)
"
╭^─^──────Try a font──^^─────╮╭^─^───^─^──────╮
│_d_ DejaVu │_u_ Unifont ││_*_ ^^configure│
│_h_ Hack │_j_ JetBrains ││_RET_ _q_ exit │
│_c_ Cascadia │_a_ Agave │╰^─^───^─^──────╯
╰^─^──────────┴^─^───────────╯"
╭^─^───────Try a font──^^─────╮╭^─^───^─^──────╮
│_d_ DejaVu │_u_ Unifont ││_*_ ^^configure│
│_h_ Hack │_b_ JetBrains ││_RET_ _q_ exit │
│_c_ Cascadia │_a_ Agave │╰^─^───^─^──────╯
│_j_ JuliaMono │^ ^ │
╰^─^───────────┴^─^───────────╯"
("d" (set-frame-font "DejaVu Sans Mono"))
("u" (set-frame-font "Unifont" ))
("h" (set-frame-font "Hack" ))
("j" (set-frame-font "JetBrains Mono" ))
("b" (set-frame-font "JetBrains Mono" ))
("c" (set-frame-font "Cascadia Mono" ))
("a" (set-frame-font "Agave" ))
("j" (set-frame-font "JuliaMono" ))
("*" uniline-customize-face :exit t)
("q" () :exit t)
("RET" () :exit t))
Expand Down Expand Up @@ -2134,7 +2137,8 @@ And backup previous settings."
["set font Hack" (set-frame-font "Hack" )]
["set font JetBrains Mono" (set-frame-font "JetBrains Mono" )]
["set font Cascadia Mono" (set-frame-font "Cascadia Mono" )]
["set font Agave" (set-frame-font "Agave" )])
["set font Agave" (set-frame-font "Agave" )]
["set font JuliaMono" (set-frame-font "JuliaMono" )])
"----"
["quit Uniline Mode" uniline-mode t] ))

Expand Down

0 comments on commit 61c0116

Please sign in to comment.