Skip to content

Commit fb7cc93

Browse files
authored
Create README.md
1 parent 1295fc1 commit fb7cc93

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# IMGUI-Memory-Font-Loader
2+
Convert TTF Font Files To RAW BYTES Using The Font To Memory Executable.
3+
4+
Use The Following Shell Command To Convert The TTF File To RAW BYTE
5+
6+
./FONT-MEM.exe [-base85] [-nocompress] <inputfile> <symbolname>
7+
8+
EXAMPLE OUTPUT BYTES:
9+
10+
unsigned char fontAwesomeRawData[165548] = {
11+
0x00, 0x01, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x80, 0x00, 0x03, 0x00, 0x50,
12+
0x46, 0x46, 0x54, 0x4D, 0x6B, 0xBE, 0x47, 0xB9, 0x00, 0x02, 0x86, 0x90,
13+
0x00, 0x00, 0x00, 0x1C, 0x47, 0x44, 0x45, 0x46, 0x02, 0xF0, 0x00, 0x04,
14+
0x00, 0x02, 0x86, 0x70, 0x00, 0x00, 0x00, 0x20, 0x4F, 0x53, 0x2F, 0x32,
15+
};

0 commit comments

Comments
 (0)