Page 1 of 1

file format for font

Posted: Sun Aug 05, 2018 12:06 pm
by danmcb
Hi - can you tell me what the file format of the default font (SIEMENS.C16) is? I want to use the code at lower res than 720dpi (bit pointless when my source image is 72dpi) - which I can do in the code but then i think I need to supply a font at that dpi? if so what format does it need to be in?

thanks again!

Re: file format for font

Posted: Sun Aug 05, 2018 5:40 pm
by RWAP
The font is a bitmap font with 16 bytes per character - ie 16 print rows per character.

The code to convert the printed character is in the:

Code: Select all

int printcharx(unsigned char chr)

Re: file format for font

Posted: Fri Aug 10, 2018 11:32 am
by danmcb
thank you!