I am working on programming part for graphic LCD OGM 12864 GLCD. I have t create font size of 5x7 characters. Can any one suggest me how to star with this as I think that I have to work on look-up table too. Please giv me some idea on this font maker.....rgds..Vivek
Assuming you are not inventing a new language, the problem of developing a 5x7 matrix font has been solved, probably 10^12 times or more. You might be amazed what you would find if you searched for, say "5x7 lcd font source code".
And the rest of your answers can be found with one, maybe two minutes of Google time as well.
Notice that the font examples they use on the "info" page to show the jagged edges 5 x 10 including the descenders. I'm not sure how their fonts are different. I guess they are of a fixed size while the other fonts get worse as you shrink them to "small" size.
Aren't there fixed size fonts standard with Windows, like "system" for example? I think they provide two different sizes and no matter what size you ask for, you get one the the two fixed sizes.
One of the most original methods of doing this is to use Excel. The ide originally was presented in EDN by Alberto Ricci Bitti "Excel offer painless LCD initialization":
I suggested an improvement as a follow-up design idea, allowing use selectable character size, automatic code generation and a selection o horizontal or vertical scanning:
Chapter 5 of my book develops this idea further allowing for doubl clicking to turn pixels on and off and a better visualization of th character. "Excel by Example: A Microsoft Excel Cookbook for Electronics Engineers published by Elsevier/Newnes, ISBN 0750677562
They have a range of pixel-maps, and they specify the Y axis, from
7 thru 20 (varies with font), but I cannot find the X axis size. (which seems to vary within a font, as they do narrow/std/bold)
As a step-up from the 5x7, and even 8x16(7x14) sizes, they should render and zoom better then the vanilla fonts. (but of course, need more storage..)
We already use a fixed 8x8 and (8x16)(7x14) font, but that does not scale too well, so something a step up from a single stroke, small pixel count looked to be better. The problem was, fonts such as those above did not have enough info to easily calculate a ROM size, or an obvious ROM pathway.
I've asked them again, now this has reminded me....
Yes, but each one is fixed. These are the old bit mapped fonts that only work at one size regardless of how you change your display parameters.
They may be a bit larger, but I don't see how they are any different. In fact, that seems to be their claim to fame, they *are* bit mapped fonts to use in graphical images rather than directly on web pages and such.
I don't get what you mean about scaling. Fixed size fonts *don't* scale. That is why they invented the TrueType and other scalable fonts.
Our use is less common: We want to have smaller fonts (8x16 is ok here) for close reading, and then scale that x2, x3, x4, x5 etc, for more distant reading of few critical variables. This works now by scaling the 8x16 - and it is 100% functional, but gets a tad 'chunky'.....
So, we need a Pixel Font, but with a larger 'tile', that 'looks nicer', but we do not have as many pixels, ROM space, (or rendering power) as a Windows PC. I think a 24x16 tile, with a soft-define on dX,dY should give good results. My guess is that most of the fonts on
will be inside this.
I did find FontForge, which looks possible, but it is not a native windows application -
I did a set of 5x7 characters a while back - ISTR the complete ASCII printable set and a few odds and ends (pound sign, euro, and a few Greek letters). My code was in the right format for the DIP packaged serial displays (one byte per column) but that was generated from a simple format with awk. It should be relatively easy to generate any other format.
Don't have the code handy right now. I'll post a link to it when I get home since creating a charset is infuriating, time-consuming numpty work.