From a7a621eab3611bfbfb31b4ddd8f6f08e7c6a4765 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 27 Feb 2021 20:55:43 -0500 Subject: Add Iosevka (Term Extended) to fonts page --- docs/Iosevka_sub.woff2 | Bin 0 -> 83356 bytes docs/fonts.html | 50 ++++++++++++++++++++++++++++++++++++++++++++----- docs/repl.js | 2 +- docs/style.css | 5 +++++ 4 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 docs/Iosevka_sub.woff2 (limited to 'docs') diff --git a/docs/Iosevka_sub.woff2 b/docs/Iosevka_sub.woff2 new file mode 100644 index 00000000..3985a94d Binary files /dev/null and b/docs/Iosevka_sub.woff2 differ diff --git a/docs/fonts.html b/docs/fonts.html index 85c3a7ae..e8a12c5e 100644 --- a/docs/fonts.html +++ b/docs/fonts.html @@ -36,6 +36,7 @@
  • BQN386, derived from APL385 by way of APL386
  • Fairfax HD (bitmap font Fairfax is only missing )
  • 3270, based on the IBM 3270 terminal family
  • +
  • Iosevka family: Extended Term shown here; many options available
  • Julia Mono
  • Other than DejaVu, the versions embedded on this page are small subsets, and you should get your copy from the links above (unless perhaps you want to use them for embedding as well). In addition to these, Pragmata Pro and Everson Mono have full support, but each charges a significant fee for usage and I can't freely embed them here.

    @@ -115,8 +116,26 @@ Fairfax HD - -
    `1234567890-= ~!@#$%^&*()_+
    +
    +
    `1234567890-= ~!@#$%^&*()_+
    + qwertyuiop[]  QWERTYUIOP{}
    + asdfghjkl;'\  ASDFGHJKL:"|
    + zxcvbnm,./    ZXCVBNM<>?
    +
    +˜˘¨⁼⌜´˝ ∞¯÷× ¬⎉⚇⍟◶⊘⎊⍎⍕⟨⟩√⋆
    + 𝕨∊↑∧ ⊔⊏⊐π←→𝕎⍷𝕣  ⊑⊒⊣⊢
    + 𝕤𝕗𝕘⊸∘○⟜𝕊 𝔽𝔾« »·˙
    + 𝕩↓∨⌊ ≡∾≍≠    𝕏 ⍒⌈ ≢≤≥
    +
    +⍬⍺⍵⍴⍳⍸⌷⍨⍤⍥⍣⊖⊂⊃⊆⊇∩∪⊥⊤⍝⍀⌿⍪
    +⎕⌺⌹⌸⍞⍠⌶⍱⍲⍫∇∆⍢⍙…
    +
    +
    Iosevka Term Extended
    + + + + +
    `1234567890-= ~!@#$%^&*()_+
      qwertyuiop[]  QWERTYUIOP{}
      asdfghjkl;'\  ASDFGHJKL:"|
      zxcvbnm,./    ZXCVBNM<>?
    @@ -129,7 +148,7 @@ Fairfax HD
     ⍬⍺⍵⍴⍳⍸⌷⍨⍤⍥⍣⊖⊂⊃⊆⊇∩∪⊥⊤⍝⍀⌿⍪
     ⎕⌺⌹⌸⍞⍠⌶⍱⍲⍫∇∆⍢⍙…
     
    -
    Julia Mono
    +
    Julia Mono
    @@ -212,6 +231,25 @@ Fairfax HD }
    +
    Iosevka Term Extended
    +
    +  c𝕩='#'s/00«sm𝕩='''d/dm𝕩='"'
    +  gq  s¯1d/c qgq                # Open indices
    +  e g⊏∾2+s 1d-»(0∾+`c)//(𝕩=lf)1 # Matching close indices
    +  Se{(˜𝕨)Se 1¨((𝕩/𝕨))𝕩}(0=¯1⊑⊢)       # Mark reachable openings
    +
    +PrecedesGroup  {
    +  # We prepend a 0 to 𝕨, so that 0 is the "before start" index, with a
    +  # false value, and normal indices are increased by 1.
    +  𝕨 ˜ 0
    +  inds  1 + ↕≠𝕩
    +  # Zero out indices where 𝕩 was true, and find the greatest index so
    +  # far at each position.
    +  last  ` inds × ¬𝕩
    +  last  𝕨
    +}
    +
    +
    Julia Mono
     
       c𝕩='#'s/00«sm𝕩='''d/dm𝕩='"'
    @@ -242,8 +280,10 @@ Fairfax HD
       
       
       
    -  
    -  
    +  
    +  
    +  
    +  
     
     
    diff --git a/docs/repl.js b/docs/repl.js index 7447accd..67df5dd2 100644 --- a/docs/repl.js +++ b/docs/repl.js @@ -110,7 +110,7 @@ doc.kb.onmousedown = ev => { } if (doc.demo) { - let fonts=[["DejaVu","Mod"],["BQN386"],["Fairfax","HD"],["3270","font"],["Julia","Mono"]]; + let fonts=[["DejaVu","Mod"],["BQN386"],["Fairfax","HD"],["3270","font"],["Iosevka","Term"],["Julia","Mono"]]; let fclass = f => f==="3270"?"f"+f:f let fontsel = '