View Single Post
Old 09-02-2018, 08:09 PM   #57
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Thought it would be fun and

Click image for larger version

Name:	20180902193725.png
Views:	442
Size:	975 Bytes
ID:	166033

to create a proportional font only from the 11 Box Drawing characters. So here is one!

With double line characters with kerning:
Click image for larger version

Name:	20180902192947.png
Views:	449
Size:	4.0 KB
ID:	166029
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c
With double line characters and no kerning:
Click image for larger version

Name:	20180902193009.png
Views:	430
Size:	4.4 KB
ID:	166030
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c -k
With single line characters with kerning:
Click image for larger version

Name:	20180902193112.png
Views:	460
Size:	2.7 KB
ID:	166032
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c --k -d
With single line characters and no kerning:
Click image for larger version

Name:	20180902193027.png
Views:	463
Size:	3.0 KB
ID:	166031
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c -k -d
Caveat¹: it is written in shell, so it is terribly inefficient, and also probably buggy (ouch UTF-8 handling).
Caveat²: Some characters need to be refined, maybe kerning rules too, you are welcome to improve.

[EDIT 2018-10-03] Get it from this version posted further in the thread

Last edited by PoP; 10-03-2018 at 03:06 PM. Reason: point to a newer version posted later in the thread
PoP is offline   Reply With Quote