Al-Qurtas-Islamic-bank-The-.../tests/make_png
Kushal K S V S 828e89379d Some Bug Fixes 2018-03-18 20:40:45 +05:30
..
html Generating Pages and Sprite animation [Testing] 2018-03-18 20:40:45 +05:30
Makefile Some Bug Fixes 2018-03-18 20:40:45 +05:30
README Resolving errors 2018-03-18 20:40:45 +05:30
bitmap.c Generating Pages and Sprite animation [Testing] 2018-03-18 20:40:45 +05:30
bitmap.h Some Bug Fixes 2018-03-18 20:40:45 +05:30
make_sprite.c Some Bug Fixes 2018-03-18 20:40:45 +05:30
murmur3.c Updating Difference Metric score calculation 2018-03-18 20:40:44 +05:30
murmur3.h MAking code compatible with C89 2018-03-18 20:40:44 +05:30
runme.sh Some Bug Fixes 2018-03-18 20:40:45 +05:30
test.ttf Minor fix 2018-03-18 20:40:44 +05:30

README

 
TODO:   Generate HTML page for detailed comparison

---------------------------------------------------------------------

INSTRUCTIONS

NOTE: One version of FreeType is referred as "base" version and the
      other as the "test" version.

  1. Get the two versions ready
  -------------------------------------
    Make two folders named "test" and "base" preferably in the home
    directory.

    Next, download an older version of FreeType (For example : 2.6.5)
    ( This being the "base" version of the two)
    Go to 'include/freetype/ftoption.h' and uncomment this line

        #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
  
  2. Compile the two versions 
  -------------------------------------     
   Go to the "base" version's folder and compile the library

	    ./configure --enable-shared --disable-static
	    make 

    Repeat step 2. for the "test" version as well.

 3. Compile the code
  -------------------------------------     
    Return to this folder and make the binary

 	make tests [options]

    Set resolution in DPI by passing argument to variable DPI.
    Example: make tests DPI=100, if not specified,default is 72.

    Set the Rendering mode by passing FT_TEST_RENDER_MODE.
    <render_mode> can take values 1. MONO
    							  2. AA
    							  3. RGB
    							  4. BGR
    							  5. VRGB
    							  6. VBGR
    ( Example: make tests FT_TEST_RENDER_MODE=RGB )

 4. Run the executable
  ------------------------------------- 

	sh runme.sh <a> <font_file> <pt_size> 

    <a> is directory of the 'base' FreeType version. 
    ( The path to these should be absolute. )

	Open ./html/index.html for "list-view"
---------------------------------------------------------------------

FEATURES

    Generates sprite sheets in the ./html/images folder.

    Generates "list-view" web-page i.e index.html

    By clicking on the Headers of the respective columns,they can be
    arranged (in increasing/decreasing order) based on
      ->  Glyph-Index
      ->  Name
      ->  Difference Metric