Go Down

Topic: Is Extended ASCII Characters display via Small Pixel Font (5x7 or 5x6) possible? (Read 2073 times) previous topic - next topic

Caadi

What is the smallest font size capable of showing some of the extended ASCII characters.
Is Extended ASCII Characters display via Small Pixel Font such as 5x7 or 5x6 possible?

I am looking for a real small font.

What is the smallest font size in terms of pixels, widths and height.

I really want short height, less than 4 pixels high? Is that even possible ?

Osgeld

http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Caadi

#2
Mar 30, 2013, 02:01 am Last Edit: Mar 30, 2013, 02:06 am by Caadi Reason: 1
Oh dear it looks aweful.

lol why did I expect any better  :P

Thanks for the quick response.

Caadi

#3
Mar 30, 2013, 02:15 am Last Edit: Mar 30, 2013, 02:26 am by Caadi Reason: 1
Ok 3 pixels is too small.

What is a small pixel size font where the characters are easily readable and unique(not mistakable with others)

I am looking for minimum pixel height but readable for both Upper and lower case letters and some special characters like @ or % etc.

Osgeld

4x4 is pushing it, 6x8 is really clear
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

cr0sh

5x7 is probably the minimum size for what you want:

http://www.fonts2u.com/5x7-practical-regular.font
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Caadi

Does anyone know how to convert .ttf font to binary or hex.
here is the font that caught my eye: http://www.dafont.com/minecraftia.font
There are other good ones on there too.

This is the format am looking for, lets say '1'

0b00001000
0b00101000
0b01001000
0b00001000
0b00001000
0b00001000
0b01111111

if you squint your eyes it might be easier to see a shape of '1' in that array of bits.

Graynomad

There used to be no end of free font designer programs, have you tried Googling something like "font designer"? There may be some that generate a format you can easily convert to an array.

You will never get a good-looking font with the sizes you're talking about though I think.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Osgeld

what I do

google ttf to bmp, its been a long time so I cant recomend a program, just get a free one
open bmp in gimp, save as ppm ascii
open ppm in a text editor, chop header off add 0b and whatnot
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Caadi

What is the smallest font size capable of showing some of the extended ASCII characters.
Is Extended ASCII Characters display via Small Pixel Font such as 5x7 or 5x6 possible?

Osgeld

should be, but I have not seen one yet, but here is a 6x8 version that I made up for tv out

http://arduino.cc/forum/index.php?topic=152973.0
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Go Up