thermal printer font problem

hi, Now we are working in the firmware development for thermal printer. One of the requirement is that the printer should have 10 character set with 3 different size. Actually the printer head getting 1/0 corresponding to the bitmapped hex value of the character. But we don't know, how to get the bitmapped hex value of each character. Is there nay free tool/application in the net, which convert the ttf format to the bit mapped binary one.

Actually the structure of the font file of each character set is like this:

struct { first_char; last_char; hight; width; index; hex_value[]; }

Can anyone help regarding this ?... Thank you

Reply to
tamilmaran s
Loading thread data ...

What do you mean by "bitmapped hex value"?

Aha... Try freetype from sourceforge. Or hire me, I am already missing my thermal printer project that got abandoned unexpectedly ;)

Reply to
Grzegorz Mazur

hi Mazur, thank you for your responce.i have found one tool 'Fontgen' , that will give the bitmapped value of each character as what we want. But we don't have any control with hight and width of the character. If you come across any tool regarding this , please inform me. thank you.

Reply to
tamilmaranz

Metagraphics FontBuilder can generate a bitmap font from a TrueType font. It creates a Metagraphics FNT format file, but it's a relatively straightforward structure, which you could choose to use, or simply extract the bitmaps from. You specify the point size characters you want, for a specific DPI resolution.

--Gene

Reply to
Gene S. Berkowitz

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.