[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] GSoC-2017-kushal be682f2 27/70: change TODO
From: |
Kushal K S V S |
Subject: |
[freetype2] GSoC-2017-kushal be682f2 27/70: change TODO |
Date: |
Sun, 18 Mar 2018 11:21:12 -0400 (EDT) |
branch: GSoC-2017-kushal
commit be682f28851e2ee3cdcf4883a2baae0a36fa5a2e
Author: Kushal K S V S <address@hidden>
Commit: Kushal K S V S <address@hidden>
change TODO
---
tests/make_png/README | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/tests/make_png/README b/tests/make_png/README
index c8d31e9..0adb543 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] GSoC-2017-kushal be682f2 27/70: change TODO,
Kushal K S V S <=