Skip to content

Commit

Permalink
add FreeMono in the list of supporting fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
c committed Nov 2, 2024
1 parent 321032e commit 077430a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -383,21 +383,26 @@ Not all fonts are born equal.
- =(set-frame-font "Cascadia Mono" )=
- =(set-frame-font "Agave" )=
- =(set-frame-font "JuliaMono" )=
- =(set-frame-font "FreeMono" )=

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 7 suggested fonts. Just hit the
You may want to try any of the 8 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:

=M-: (set-frame-font "DejaVu Sans Mono")=

This setting is for the current session. If you want to make it
This setting is for the current session only. If you want to make it
permanent, you may use the Emacs customization:

=INS f *=

or

=M-x customize-face default=

Beware that Emacs tries to compensate for missing UNICODE support by
Expand Down
7 changes: 5 additions & 2 deletions uniline.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
;; - Cascadia Mono
;; - Agave
;; - JuliaMono
;; - FreeMono
;;
;; 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,7 +1808,7 @@ See `uniline--insert-glyph'."
│_d_ DejaVu │_u_ Unifont ││_*_ ^^configure│
│_h_ Hack │_b_ JetBrains ││_RET_ _q_ exit │
│_c_ Cascadia │_a_ Agave │╰^─^───^─^──────╯
│_j_ JuliaMono │^ ^
│_j_ JuliaMono │_f_ FreeMono
╰^─^───────────┴^─^───────────╯"
("d" (set-frame-font "DejaVu Sans Mono"))
("u" (set-frame-font "Unifont" ))
Expand All @@ -1816,6 +1817,7 @@ See `uniline--insert-glyph'."
("c" (set-frame-font "Cascadia Mono" ))
("a" (set-frame-font "Agave" ))
("j" (set-frame-font "JuliaMono" ))
("f" (set-frame-font "FreeMono" ))
("*" uniline-customize-face :exit t)
("q" () :exit t)
("RET" () :exit t))
Expand Down Expand Up @@ -2140,7 +2142,8 @@ And backup previous settings."
["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 JuliaMono" (set-frame-font "JuliaMono" )])
["set font JuliaMono" (set-frame-font "JuliaMono" )]
["set font FreeMono" (set-frame-font "FreeMono" )])
"----"
["quit Uniline Mode" uniline-mode t] ))

Expand Down

0 comments on commit 077430a

Please sign in to comment.