/imgui-font-convert

Converts your ttf font to a header file that you can use with ImGui.

Primary LanguageJavaScript

Usage

Make sure the ttf file is in the same directory.
Then run the following command:

node index.js <font file> <font name> 

Example

node index.js Roboto.ttf Roboto

This will generate your Roboto.h file in the same directory.