GuiLite Toolkit - Build Font/Bitmap resource
GuiLiteToolkit is 200 lines code for building font lattice & bitmap of GuiLite.
How to build font lattice?
Step 1: Input the charaters you need.
Step 2: Choose font type you want.
Step 3: Generate CPP files.
Step 4: Add CPP files to your APP project.
How to input charaters in your APP?
It works with unicode(UTF-8), will help your APP support all languages and symbols all over the world.
For Linux - input unicode charaters directly
e.g: char* my_string = "abc你好"
For Windows Visual studio
- For ascii code: input directly.
- For 2 bytes code or above, input charaters in code(You can get the code for Chinese word with this website):
e.g: char* my_string = "abc你好" => char* my_string = "abc\xE4\xBD\xA0\xE5\xA5\xBD"
How to build bitmap?
Step 1: Import 24 bits bitmap.
Step 2: Generate CPP files.
Step 3: Add CPP files to your APP project.