Is source code available?
Posted: 06 Oct 2014 15:08
I am using GLCD Font Creator to generate fonts for an open-source 3D printer control panel (see http://forums.reprap.org/read.php?340,391515). Flash memory is quite tight, so I need to reduce the size of the generated font tables. Two approaches come to mind:
1. For each character, store exactly the number of data columns specified in the column count for that character, instead of having a lot of trailing zeros. Obviously this will make finding individual characters slower, but if necessary I can pre-calculate the offsets of e.g. every 16th character.
2. Instead of using a whole number of bytes to store each column, pack the data. For example, if a font is 20 pixels high then instead of storing 1 column in 3 bytes, store 2 columns in 5 bytes.
But to do either of these, I need source code so that I can add extra output options, or I need to write a program to parse the generated code back into a bitmap and output it again. Is source code available? I am happy to sign an NDA if that helps.
1. For each character, store exactly the number of data columns specified in the column count for that character, instead of having a lot of trailing zeros. Obviously this will make finding individual characters slower, but if necessary I can pre-calculate the offsets of e.g. every 16th character.
2. Instead of using a whole number of bytes to store each column, pack the data. For example, if a font is 20 pixels high then instead of storing 1 column in 3 bytes, store 2 columns in 5 bytes.
But to do either of these, I need source code so that I can add extra output options, or I need to write a program to parse the generated code back into a bitmap and output it again. Is source code available? I am happy to sign an NDA if that helps.