diff options
author | Kushal K S V S <kkushal32@gmail.com> | 2017-07-07 02:38:01 +0530 |
---|---|---|
committer | Kushal K S V S <kkushal32@gmail.com> | 2017-07-07 02:38:01 +0530 |
commit | e5bdfde6dfe101c9ce2871b151f12d223f57afa2 (patch) | |
tree | 4d6b53e19d7aeda4c534a722cb0f7eb9376d7d4a /tests/make_bitmap/README | |
parent | cf8d9b4ce3fa2c6cd9ccb25585bc17a355c987b0 (diff) | |
parent | 4f5f083dc68dc6f0896e8da529590e88101c3c19 (diff) | |
download | freetype2-e5bdfde6dfe101c9ce2871b151f12d223f57afa2.tar.gz |
Merge branch 'ksvsk_test' of into kushal_glyph_testkushal_glyph_test
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. + + |