Make sure the ttf file is in the same directory.
Then run the following command:
node index.js <font file> <font name>
node index.js Roboto.ttf Roboto
This will generate your Roboto.h file in the same directory.
Converts your ttf font to a header file that you can use with ImGui.
Make sure the ttf file is in the same directory.
Then run the following command:
node index.js <font file> <font name>
node index.js Roboto.ttf Roboto
This will generate your Roboto.h file in the same directory.
Converts your ttf font to a header file that you can use with ImGui.