Generate a One Line Array per Char Font (with bitmap2LCD)
( from Version 3.8G build 8 )
1. Enter Font Script Mode
2. Select the chars, here from 0 to 9 ( green arrow )
3. Shift the whole Font up to eliminate white pixel lines ( blue arrow )
4. Specify Max Height in the Parameters ( red arrow )
-> This example is for horizontal data direction, see the bar with buttons with arrows on screenshot below !
5. Set One Line Array Parameter to True ( purple arrow )
6. Click Export Font To data button
In the output file, data array for each char takes one single line ( orange arrow )
( in this example, it is a 16 bit data array format )
Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.
Convert a range of unicode chars for GLCD Font
Obsolete article, only for previous versions < V3.7
Another way to convert unicode chars by defining a range of them:
- Enter font script mode
- Enter Range Mode (yellow arrow)
- If necessary, erase the from Hex and to Hex addresses with the clr button
- Select Range Start in the char grid (red arrow), address appears in From Hex (blue Arrow)
- Select Range End the same way in the char grid -> To Hex
- Then Validate Address (blue arrow)
- Encode the Font Range (orange Arrow)
Note : You can define Start and End of range addresses in different Fonts blocks. The condition is that the Start address is below the end address.
Before Version 3.0