HindiDemo (and s60HindiDemo) Test Software

Introduction
Hindi demo is a test program for the IculayoutEngine and associated graphics changes.  It is a standalone manual test program that runs in the Techview environment.  

S60HindiDemo, is basically the same program for S60 rather than Techview.  This not built by default as test code as it can only be compiled against S60 3.0, 
Purpose
The purpose of HindiDemo is to display some example Hindi text which has been “shaped “ by the IcuLayoutengine.  The user can check the results by observation.
Operation
Start Hindi demo from the icon in Extras.  Use the menu, font, option to select a font that contains the Hindi characters.  By default Techview does not contain any Hindi fonts so you may need to download an example from the internet and add to 

\epoc32\release\winscw\UDEB\Z\Resource\Fonts

Up and down arrow keys adjust the font size.
Left and right change the sample displayed.
Example
The results should look something like this, depending on the font. 

The main point to notice is that the black and blue lines are different.  If they are the same then shaping is not working!.

The same text is being displayed twice first in black then in red.  The difference is a Unicode “zero width non joining character” (ZWNJ) has been inserted between each character in the black line.  This has the effect of preventing the characters being shaped. Characters which are illegal on there own are displayed with a small “dotted circle”.  When the characters are displayed without a ZWNJ characters, the shaper changes the gyphs displayed to give the correct results in blue.

Execution of HindiDemo with Kannada as input will visible like this

Execution of HindiDemo with Gujarati as input will visible like this

Execution of HindiDemo with Bengali as input will visible like this

Execution of HindiDemo with Tamil as input will visible like this

S60HindiDemo
There are some differences when using s60HindiDemo.

•	The software appears in the “AknDemo” folder.
•	Pressing the ‘3’ (next) and ‘1’ (prevous) keys switches though the list of available fonts.  The name of the font in use is displayed in the top left (“Series 60 Sans” in the example below).
•	‘8’ underlines the text displayed.
•	To install the software on a phone, build the armv5 urel version, and then run makesis to make a sis file.  The sis file then needs to be signed before it can be installed, see www.symbiansigned.com for more information.