Wednesday, 29 January 2014

Lohit2 proceeding with Lohit Punjabi

Good morning everyone! With the release of Lohit Malayalam & script writings of automated testing tool, we are now looking towards improving Lohit Punjabi [1]. As previously specified in the mail on lohit-devel-list, its better to call "Lohit Punjabi" as "Lohit Gurmukhi".

This improvements will involve all the basic & additional improvements as well :

Basic improvements :

    * Following AGL specification (We are just following syntax and not naming stuff yet. It will happen with script improvement for generating sfd to ttf)
    * Feature file separate for flexibility and reusability.
    * Complete cleanup of existing Open type tables
    * Supporting both "guru" and "gur2" open type specifications.
    * Thorough testing with Harfbuzz and Uniscribe (WinXp, W7 and W8)
    * Fixing existing open bugs of Lohit Punjabi [2]

Additional improvements :

   * Removal of lookups which are no longer needed.
   * Inclusion of feature tags according to the specifications in Microsoft Typography for Gurmukhi[3] 
   * Automated Testing 

The development has already been started at Lohit2[4]


Wednesday, 22 January 2014

Automated Testing Tool for Lohit

Hello everyone. Being at completion stage, here comes the tool for automated testing which is key asset in testing process since it saves the time & predicts accurate output. Its just as simple as running a single command preceding with appropriate parameters .

What we have done actually is,
1. We had written a script which takes the input involving script_name, test_file_name & ttf_file_name.
2. This script can be used for both generating the standard test case output from raw test case file & testing that standard test cases with the ones after newer modifications.
3. Only the thing to note is that, this script has hb-shape dependancy. So while executing this in fedora, ubuntu etc please make sure you have harbuzz-devel rpm installed .  

The Screenshots & Commands for execution :

For generating the standard test cases  :

    python <test file> <font file>

For testing the newer test cases : 

    python <test file> <font file>


>  : 
     this script can be executed only once to generate standard output file
 which will be going to include output for all the test cases specified in raw test file.

> :
      this script can be executed, many a times , whenever any changes are been made. This script will compare output with the previously generated standard test file.

> test_file :     the name of text file wherein all your test cases resides.

> font_file : 
     ttf file name for the font which you want to apply to.

you can refer the link [1][2] for python script Hope this finds useful.