blob: 98208b50a0c448cf8b8421d3389e9cbfd89b1143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.
|