summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal K S V S <kkushal32@gmail.com>2017-07-14 18:04:35 +0530
committerKushal K S V S <kkushal32@gmail.com>2018-03-18 20:40:44 +0530
commitbe682f28851e2ee3cdcf4883a2baae0a36fa5a2e (patch)
tree8516d150c56ff84c08589c038b6d8c93e90940f1
parent13468509d4c28428f541206ac855df075984f9e3 (diff)
downloadfreetype2-be682f28851e2ee3cdcf4883a2baae0a36fa5a2e.tar.gz
change TODO
-rw-r--r--tests/make_png/README24
1 files changed, 15 insertions, 9 deletions
diff --git a/tests/make_png/README b/tests/make_png/README
index c8d31e94e..0adb54318 100644
--- a/tests/make_png/README
+++ b/tests/make_png/README
@@ -1,11 +1,10 @@
NOTE: First make freetype library (in the ../../ directory)
make devel
make
-
-NOTE: Right now, the sprite sheets are generated stitching the base and test glyph
- together.
+
TODO: Monochrome sprite sheets.
- Sprite sheets with more sub-images (visual effects).
+
+/*******************************************************************/
To generate hashes and store it in the ./hashes folder,
@@ -25,6 +24,8 @@ To generate hashes and store it in the ./hashes folder,
2 - lcd horizontal
3 - lcd vertical
+/*******************************************************************/
+
To generate 32-bit RGBA PNG(s) of all glyphs in a font\n
1) make png
@@ -43,20 +44,25 @@ To generate 32-bit RGBA PNG(s) of all glyphs in a font\n
2 - lcd horizontal-RGB
3 - lcd horizontal-BGR
4 - lcd vertical-RGB
- 5 - lcd vertical-BGR
+ 5 - lcd vertical-BGR
+
+/*******************************************************************/
To generate sprite sheets,
-First compile and install two versions of the FreeType libray in different folders
-(with SUBPIXEL_RENDERING enabled in ftoption.h)
+First compile and install two versions of the FreeType libray
+in different folders (with SUBPIXEL_RENDERING enabled in ftoption.h)
1) make sprite
(set resoluton in DPI by passing argument
example: make DPI=100, if not specified,default is 72)
-2) Usage ./sprite <base_version .so> <test_version .so> <font_file> <pt_size> <render_mode>
+2) Usage ./sprite <a> <b> <font_file> <pt_size> <render_mode>
+
+ (<a> is the libfreetype.so from the base vesion )
+ (<b> is the libfreetype.so from the test vesion )
- The path to the "shared library files" in usage should be absolute.
+ The path to the "shared library" in usage should be absolute.
Sprite Sheets will be saved as sprite_$(glyph_index).png