From 6aaefe5eaea696b966687d8d19844f84d97e0e9a Mon Sep 17 00:00:00 2001 From: Kushal K S V S Date: Fri, 14 Jul 2017 18:04:35 +0530 Subject: 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 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 +2) Usage ./sprite + + ( is the libfreetype.so from the base vesion ) + ( 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 -- cgit v1.2.1