Comments, documentation (#1121)

This commit is contained in:
omar
2017-05-02 10:43:00 +02:00
parent 9614552eba
commit df52f46b13
2 changed files with 12 additions and 5 deletions
+3 -1
View File
@@ -96,7 +96,9 @@
EMBEDDING FONT IN SOURCE CODE
---------------------------------
Compile and use 'binary_to_compressed_c.cpp' to create a compressed C style array. Then load the font with:
Compile and use 'binary_to_compressed_c.cpp' to create a compressed C style array.
See the documentation in binary_to_compressed_c.cpp for instruction on how to use the tool.
Then load the font with:
ImFont* font = io.Fonts->AddFontFromMemoryCompressedTTF(compressed_data, compressed_data_size, size_pixels, ...);