diff options
Diffstat (limited to 'tests/make_bitmap/README')
-rw-r--r-- | tests/make_bitmap/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/make_bitmap/README b/tests/make_bitmap/README new file mode 100644 index 000000000..98208b50a --- /dev/null +++ b/tests/make_bitmap/README @@ -0,0 +1,18 @@ +Use the "new" folder. + + +To compile and execute + +gcc example1.c ksvsk.c murmur3.c -Wall -I /usr/local/include/freetype2/ -lfreetype -o example1 +./example1 <font_file> <pt_size> <character> + +gcc example2.c ksvsk.c murmur3.c -Wall -I /usr/local/include/freetype2/ -lfreetype -o example2 +./example2 <font_file> <pt_size> + + +NOTE + +-> DONOT use Get_Padding render MONO / GRAYSCALE bitmaps. + Use FT_Bitmap_Convert to make the width of bitmap a multiple of 4 bytes and then write it to file. + + |