<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Here are some links for programs and code libraries I've tried.<br><br>http://www.mugui.de/<br><br>https://code.google.com/p/glcd-arduino/downloads/list?can=1&q=<br><br>Sorry I don't remember which had the best results. <br><div><span><br></span></div><div><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Jon Wolfe <jonjwolfe@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Pete Soper <pete@soper.us>; "triembed@triembed.org" <triembed@triembed.org>
 <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, March 17, 2014 5:55 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [TriEmbed] need 64x64 and smaller font bitmap generator<br> </font> </div> <div class="y_msg_container"><br><div id="yiv5383064804"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;">I don't have the resources in front of me. But I too have spent time looking for things like this. A lot of the font data can be specific to the library or even a specific LCD memory layout (some are organized horizontally, some are vertically).<br clear="none"><br clear="none">A couple tricks that I've found useful: <br clear="none"><br clear="none">look for existing projects using the same LCD/library, they might have a font in there you can borrow. <br clear="none"><br clear="none">or, when I got desparate, I just made
 my own. GCC for AVR chips supports the binary literal:<br clear="none"><br clear="none">255 => 0xFF => 0b11111111<br clear="none"><br clear="none">That can be helpful to create your own font if your memory layout is conducive to it. It's a little labor intensive, but it works.<br clear="none"><div><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>I'll look for the LCD font generator tools that I downloaded not long ago, but I never had great luck with them.</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue,
 Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>Also, dig deep into the driver chip's datasheet. It may have </span><span><span>[poorly advertised</span>] built-in fonts that you can access.<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><br clear="none"></span></div><div><br clear="none"></div>  <div class="yiv5383064804yqt2990886461" id="yiv5383064804yqt83819"><div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Pete Soper
 <pete@soper.us><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> triembed@triembed.org <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Monday, March 17, 2014 5:33 PM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> [TriEmbed] need 64x64 and smaller font bitmap generator<br clear="none"> </font> </div> <div class="yiv5383064804y_msg_container"><br clear="none">I'd like to display two digit numbers on a 128x64 graphic display (i.e. <br clear="none">two 64x64 pixel digits) and wonder if somebody has made a site that <br clear="none">generates C declarations for bitmap fonts like this on the fly?<br clear="none"><br clear="none">For example, with Stanley Huang's MicroLCD library code there is an <br clear="none">inline declaration of a 16x24 font like the one at the end of this <br clear="none">message. I guess I'm really just looking for a source for a font that <br clear="none">could be
 scaled (and not look terrible when scaled: notice this 16x24 <br clear="none">font wouldn't scale to 64x64). But I have no idea what resources exist <br clear="none">and hope somebody on this list does. My idea of nirvana would be a web <br clear="none">site where you pick an X and Y size, pick a font that scales to that <br clear="none">size and get a C or C++ declaration for some alphabet that can be an <br clear="none">index into the array of bit maps.<br clear="none"><br clear="none">-Pete<br clear="none"><br clear="none"><br clear="none">// fonts data<br clear="none">const PROGMEM
 unsigned char digits16x24[][48] = {<br clear="none">{0x00,0x00,0x00,0xF0,0xFF,0x0F,0xFC,0xFF,0x3F,0xFE,<br clear="none">0xFF,0x7F,0xFE,0xFF,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,<br clear="none">0xFF,0x07,0x00,0xE0,0x07,0x00,0xE0,0x07,0x00,0xE0,<br clear="none">0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0xFF,0x7F,0xFE,0<br clear="none">xFF,0x7F,0xFC,0xFF,0x3F,0xF0,0xFF,<br clear="none">0x0F},/*"0",0*/<div class="yiv5383064804yqt6569096847" id="yiv5383064804yqtfd18140"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Triangle, NC Embedded Computing mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:TriEmbed@triembed.org" target="_blank" href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank"
 href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br clear="none">TriEmbed web site: <a rel="nofollow" shape="rect" target="_blank" href="http://triembed.org/">http://TriEmbed.org</a><br clear="none"></div><br clear="none"><br clear="none"></div> </div> </div></div>  </div></div></div><br><div class="yqt2990886461" id="yqt12273">_______________________________________________<br clear="none">Triangle, NC Embedded Computing mailing list<br clear="none"><a shape="rect" ymailto="mailto:TriEmbed@triembed.org" href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br clear="none"><a shape="rect" href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br clear="none">TriEmbed web site: <a shape="rect" href="http://triembed.org/"
 target="_blank">http://TriEmbed.org</a><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>