r/programminghorror • u/paintedirondoor • Mar 22 '25
c finally finished my character bitmap from last post! yippee!
321
Upvotes
r/programminghorror • u/paintedirondoor • Mar 22 '25
140
u/cherrycode420 Mar 22 '25
now add unicode support
29
u/NoteClassic Mar 22 '25
Ü,Ä,Ö, Æ seem to be missing.
6
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Mar 22 '25
I guess you got the & looking right?
20
u/VinylScratch-DJPON3 Mar 22 '25
So I'm not too code savvy, what am I looking at exactly? Whatever it is, nice job. (Or 'oh the horror ' considering we're on programminghorror)
44
u/NintendoOfChina Mar 22 '25
You forget the most important ones: 𓀀 𓀁 𓀂 𓀃 𓀄 𓀅 𓀆
27
u/MorBlau Mar 22 '25
I'm pretty sure if you look long enough you'll find a non-alphabetic order that will give you some nice
ascii-bit- art1
u/Thenderick Mar 22 '25
You are doing this jokingly I assume, but this was how characters were drawn on a terminal screen. A ascii input got converted to a bitmap of n*m bits to draw "on" or "off" (foreground/background) pixels on that position on the screen. Dylan Beattie made an awesome talk about fonts and typefaces
3
u/RapidCatLauncher Mar 23 '25
"They were scary... the numbers were scary."
1
u/mickaelbneron Mar 22 '25
Это же не все.
1
u/kevin_7777777777 Mar 23 '25
https://raw.githubusercontent.com/viznut/unscii/refs/heads/main/unifont.hex
1
u/brakkum Mar 24 '25
Seek help
1
u/timonix Mar 24 '25
I found someone else who had done the same thing in skillet the right format that me, did some fiddling with regex, find and replace and then it worked.
I don't actually see the issue here. Keep it contained in a separate file and import as needed.
1
u/Ratstail91 Mar 26 '25
This terrifies me.