On 4/2/07, James Newton, Host wrote: > > I would find a standard font (like Ariel or the GPL equivalent) and render > all the characters to a black and white bit map at 4 times the desired > resolution (20x28 in this case) then convert to 4-bit gray scale and reduce > by resampleing to one quarter the original size. That gets you meaningful > gray scale values. Actually, you can just create a 4 bit gray scale image > and type onto that with most graphics programs. > How about, just generating a plain-ole 8-bit greyscale antialiased text in the desired resolution, then throwing away the low nibble? If you resample with a general-purpose lowpass filter, you may get sub-optimal anti-aliasing results (muddy / high frequencies attenuated). There are all kinds of software packages to render text as bitmaps. Personally, I would use Python and the Python Imaging Library, and have it write out the C include file directly. But Scott is cleverer than me, so maybe I'm missing the point of his question. ps. There are some nice pixel fonts at minifonts.com and some free ones at http://websitetips.com/fonts/pixel. Regards, Mark markrages@gmail -- Most of the time, for most of the world, no matter how hard people work at it, nothing of any significance happens. -- Weinberg's Law -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist