From 8e9ee17eac0b28c74f6cd684828d0b5e213af7e3 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 15 Nov 2020 16:26:40 -0500 Subject: Add REPL with font selection to fonts page --- docs/fonts.html | 75 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 62 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/fonts.html b/docs/fonts.html index 4d9b3e61..d68ec5a0 100644 --- a/docs/fonts.html +++ b/docs/fonts.html @@ -6,16 +6,37 @@

Fonts for BQN

-

This page displays samples of all four free fonts I know of that fully support BQN's character set:

+

This page shows samples, and a font-selectable REPL at the end, for all four free fonts I know of that fully support BQN's character set:

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.

-

The table below shows samples of the whole BQN keyboard (which includes the entire BQN character set plus a few unused characters) and APL characters that don't feature in BQN.

+

The table below shows samples of the whole BQN keyboard (which includes the entire BQN character set plus a few unused characters) and APL characters that don't feature in BQN.

DejaVu Sans Mono BQN -
`1234567890=  ~!@#$%^&*()_+
+
`1234567890=  ~!@#$%^&*()_+
  qwertyuiop[] QWERTYUIOP{}
  asdfghjkl;'\ ASDFGHJKL:"|
  zxcvbnm,./   ZXCVBNM<>?
@@ -46,7 +67,7 @@ DejaVu Sans Mono BQN
 
 
BQN386
-
`1234567890=  ~!@#$%^&*()_+
+
`1234567890=  ~!@#$%^&*()_+
  qwertyuiop[] QWERTYUIOP{}
  asdfghjkl;'\ ASDFGHJKL:"|
  zxcvbnm,./   ZXCVBNM<>?
@@ -64,7 +85,7 @@ DejaVu Sans Mono BQN
 
 
-
`1234567890=  ~!@#$%^&*()_+
+
`1234567890=  ~!@#$%^&*()_+
  qwertyuiop[] QWERTYUIOP{}
  asdfghjkl;'\ ASDFGHJKL:"|
  zxcvbnm,./   ZXCVBNM<>?
@@ -81,7 +102,7 @@ Fairfax HD
 
-
`1234567890=  ~!@#$%^&*()_+
+
`1234567890=  ~!@#$%^&*()_+
  qwertyuiop[] QWERTYUIOP{}
  asdfghjkl;'\ ASDFGHJKL:"|
  zxcvbnm,./   ZXCVBNM<>?
@@ -101,7 +122,7 @@ Fairfax HD
 
 
 

And here are code samples taken from this repository.

-
DejaVu Sans Mono BQN
+
DejaVu Sans Mono BQN
 
   c←𝕩='#'β‹„s←/0β€Ώ0⊸«⊸∧sm←𝕩='''β‹„d←/dm←𝕩='"'
   g←⍋qβ†βˆΎβŸ¨  sβ‹„Β―1↓dβ‹„/c⟩ β‹„q↩g⊏q                # Open indices
@@ -120,7 +141,7 @@ Fairfax HD
 }
 
-
BQN386
+
BQN386
 
   c←𝕩='#'β‹„s←/0β€Ώ0⊸«⊸∧sm←𝕩='''β‹„d←/dm←𝕩='"'
   g←⍋qβ†βˆΎβŸ¨  sβ‹„Β―1↓dβ‹„/c⟩ β‹„q↩g⊏q                # Open indices
@@ -139,7 +160,7 @@ Fairfax HD
 }
 
-
Fairfax HD
+
Fairfax HD
 
   c←𝕩='#'β‹„s←/0β€Ώ0⊸«⊸∧sm←𝕩='''β‹„d←/dm←𝕩='"'
   g←⍋qβ†βˆΎβŸ¨  sβ‹„Β―1↓dβ‹„/c⟩ β‹„q↩g⊏q                # Open indices
@@ -158,7 +179,7 @@ Fairfax HD
 }
 
-
Julia Mono
+
Julia Mono
 
   c←𝕩='#'β‹„s←/0β€Ώ0⊸«⊸∧sm←𝕩='''β‹„d←/dm←𝕩='"'
   g←⍋qβ†βˆΎβŸ¨  sβ‹„Β―1↓dβ‹„/c⟩ β‹„q↩g⊏q                # Open indices
@@ -177,5 +198,33 @@ Fairfax HD
 }
 
+ +

Finally, a REPL where you can enter any code you like (but remember, not all characters from these fonts are embeddedβ€”just those likely to be used in BQN). +

+ + + + + + + + +
+
+
+
+ + +
+

+
+ + + + -- cgit v1.2.3