This is a fairly primitive toy I threw together today for a specific purpose, published in case it’s any use to others... feed it a list of words as command arguments, which it will then display as a 5x7 ASCII dotmatrix with ‘#’ as a dot & ‘_’ as a blank. /* * display text using a 5x7 bitmap font in ASCII letters */ static unsigned char font [] [5] = { { 0x00,0x00,0x00,0x00,0x00 }, // 0x20 32 { 0x00,0x00,0x6f,0x00,0x00 }, // ! 0x21 33 { 0x00,0x07,0x00,0x07,0x00 }, // " 0x22 34 { 0x14,0x7f,0x14,0x7f,0x14 }, // # 0x23 35 { 0x00,0x07,0x04,0x1e,0x00 }, // $ 0x24 36 { 0x23,0x13,0x08,0x64,0x62 }, // % 0x25 37 { 0x36,0x49,0x56,0x20,0x50 }, // & 0x26 38 { 0x00,0x00,0x07,0x00,0x00 }, // ' 0x27 39 { 0x00,0x1c,0x22,0x41,0x00 }, // ( 0x28 40 { 0x00,0x41,0x22,0x1c,0x00 }, // ) 0x29 41 { 0x14,0x08,0x3e,0x08,0x14 }, // * 0x2a 42 { 0x08,0x08,0x3e,0x08,0x08 }, ...
Comments
This happened to me yesterday on planet.linux.org.au and live.linuxchix.org Now I don't feel quite so bad that I'm not the only one it's happened to. Hmm I wish Blogger had mentioned it too.
Kylie
I was glad to be able to sign on and post as me, though, which many other blogs either don't let you do or you need to register to achieve.
So I've got a half written draft post on obscure mathematics I wrote while still-drunk-from-the-night-before indellibly aggregated over at livejournal (and with 3 comments on it too) that I never wanted to publish in the first place. The same post appeared on planet humbug and twisted.
Quite Substandard in my humble opinion.
My drafts get published fairly quickly, or obliterated, so I didn't trip over that one. Yet.