From 61c0116f44b041ea1f2214c054876deca4972182 Mon Sep 17 00:00:00 2001 From: c Date: Thu, 31 Oct 2024 13:08:26 +0100 Subject: [PATCH] add JuliaMono in the list of supporting fonts --- README.org | 3 ++- uniline.el | 18 +++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index d2aa610..501c0dc 100644 --- a/README.org +++ b/README.org @@ -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 =f=. You may also execute the above Lisp commands like that: diff --git a/uniline.el b/uniline.el index 037d1d8..725aab1 100644 --- a/uniline.el +++ b/uniline.el @@ -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 @@ -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)) @@ -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] ))