This software can convert installed fonts to binary bitmaps or hexadecimal byte arrays. It was created to simplify the creation of text for monochrome LCDs.
-
Select File -> New in Menu
-
Set the font size, etc., then press the Paste ascii button, followed by the OK button.
-
The text set (ascii) in the table is displayed. it can edit by row selection. The left area is updated by pressing Update.
4. It can export to C-header or Bitmap image from File -> Export.
White in the width direction of a binary image is represented as 1 and black as 0. 8px worth of information is packed into a single byte. If the width is not divisible by 8, it is stored left-justified.
Example
5x4 px (WxH)
□■□■□ -> 0x50,
□■□■□ -> 0x50,
□■■■□ -> 0x70,
□□□□□ -> 0x00
12x12 px
□□□□□□□□□□□□ -> 0x00,0x00,
□□□□□□■□□□□□ -> 0x02,0x00,
□□□□■■□■□□□□ -> 0x0D,0x00,
□□□□■□□□■□□□ -> 0x08,0x80,
□□□□■□□□■□□□ -> 0x08,0x80,
□□□□■□□■■□□□ -> 0x09,0x80,
□□□□□■■□■□□□ -> 0x06,0x80,
□□□□□□□□■□□□ -> 0x00,0x80,
□□□□□□□■□□□□ -> 0x01,0x00,
□□□□■■■□□□□□ -> 0x0E,0x00,
□□□□□□□□□□□□ -> 0x00,0x00,
□□□□□□□□□□□□ -> 0x00,0x00
The color definition is the same as horizontal, but the orientation of the binary image compression has changed.
Example
5x4 px (WxH)
---->
□■□■□
□■□■□
□■■■□
□□□□□
||||+-> 0x00, (□□□□□)
|||+--> 0xE0, (■■■□□)
||+---> 0x20, (□□■□□)
|+----> 0xE0, (■■■□□)
+-----> 0x00, (□□□□□)
12x12 px
----------->
□□□□□□□□□□□□
□□□□□□■□□□□□
□□□□■■□■□□□□
□□□□■□□□■□□□
□□□□■□□□■□□□
□□□□■□□■■□□□
□□□□□■■□■□□□
□□□□□□□□■□□□
□□□□□□□■□□□□
□□□□■■■□□□□□
□□□□□□□□□□□□
□□□□□□□□□□□□
|||||||||||+-> 0x00,0x00, (□□□□□□□□□□□□)
||||||||||+--> 0x00,0x00, (□□□□□□□□□□□□)
|||||||||+---> 0x00,0x00, (□□□□□□□□□□□□)
||||||||+----> 0x1F,0x00, (□□□■■■■■□□□□)
|||||||+-----> 0x24,0x80, (□□■□□■□□■□□□)
||||||+------> 0x42,0x40, (□■□□□□■□□■□□)
|||||+-------> 0x22,0x40, (□□■□□□■□□■□□)
||||+--------> 0x3C,0x40, (□□■■■■□□□■□□)
|||+---------> 0x00,0x00, (□□□□□□□□□□□□)
||+----------> 0x00,0x00, (□□□□□□□□□□□□)
|+-----------> 0x00,0x00, (□□□□□□□□□□□□)
+------------> 0x00,0x00, (□□□□□□□□□□□□)
Download the zip file from Release, extract and run it. .NET 6.0 runtime is required.
- NET 6.0
- Built on Any CPU profile
- Windows 11 pro 22H2
- MIT License