close-circle
Close

Sub-pixel Rendering Experiments [moved]

A project log for Tiny Wearable 8-bit VT100 Console

Arduino Uno-powered terminal emulator on a tiny 1"x1" TFT screen

Nick Matantsev 09/25/2017 at 05:313 Comments


[Update: moved and expected most of the explanation into a dedicated Medium post: https://medium.com/@line_ctrl/squeezing-64-characters-into-128-pixels-99da7ae82a12]

Discussions

Radomir Dopieralski wrote 10/09/2017 at 10:34 point

I love the experiment for the experiment's sake, but wouldn't it be more productive to simply use a smaller font? I have done the 127 ASCII characters in 4×6 pixels, for example: 

(And if you do better anti-aliasing, you can really have nice fonts even at this size.)

  Are you sure? yes | no

Nick Matantsev wrote 10/09/2017 at 15:55 point

This is timely because I was in fact looking around for a smaller font and this one looks exactly like what I had in mind. Thanks for the suggestion!

I still want to use the sub-pixel approach though, because even at 4px character pitch the density is not high enough. I guess I could also just switch to a bigger screen, but what is the fun in that, right? Heh.

Can I ask if the above font is available open source? I am especially intrigued by the anti aliased variant.

Oh and I have massively improved the sub-pixel blit code, will do another write-up soon!

  Are you sure? yes | no

Radomir Dopieralski wrote 10/09/2017 at 16:05 point

The font is released under CC BY-SA here: https://bitbucket.org/thesheep/font454/src

Note that it is in a format suitable for using it with MicroPython, but there is also the source image available, and the tool I wrote to convert it into the binary format — you should be able to modify it to generate whatever format you need.

  Are you sure? yes | no