IntelliFontIME Script Editor Tutorial

IntelliFontIME script editor allows you to create font scripts.Using font scripts the Input Method Editor can work with new fonts.
Font script is a set of rules, that describes about mapping between keyboard keys and actual typed characters for a particular font and Modifiers that character supports.

Modifier
Character Modifier is a symbol or a character that displays a variation in its sound of pronounce.
E.g.: modifiers of character Ka are Kaa,Ke,Kee,Ku,Kuu,Ko,koo


IntelliFontIME script editor Main Window



Creating a new script for a new font

Step 1
Select File->New



This will start the script creation wizard



Each steps in the Wizard will give you details about setting up.
Click Next

Step 2

In this window you must select the font that you want the script to be created for.



Click Next

Step 3

In this window 
you must select the font mask.

Every font script has a font mask that will tell the typing manager what fonts it can support.
Some fonts have come in collections so that they all have similar characteristics in terms of keystrokes that mapped for a particular character.So it is possible (in fact the best approach) to create one script to support whole font collection.You can guess for a font collection with the font name. Say, you have some fonts that have the same beginning phrase "DL-" in their names.To create a font script that supports that collection we can set the font mask "DL-*" (Add a star at the end).Star denotes that there can be are some other words after the phrase DL-. If you are creating a font script for a single font, you can use the whole font name as the font mask.Note the you must use the exact case for the font mask (Its case sensitive).



Click Next

Step 4

In this window you must select the Source Script.

Choosing a source script will make the new script behave exactly like the source script.It will display exact Sinhala candidate lists and modifier lists.



Click Next

Step 5

In this window is used to convert source script character by character to the new script.

Note
You can ignore this window if you want to make minor changes to the script.Most of the time fonts are different by a small margin in terms of keystrokes that mapped for a particular character. so if you have a font script that is supported to a font, and you want to create a new font script to the new font that is marginally different from the first font, you can skip this step and press Next.

Basic procedure in this step to group equal characters.



Click a character on either side,and click the equal 
character in the other size.if you do it correctly the two characters will be grayed.You can undo a group by right clicking a character.
Take caution when grouping, some times you must cancel current selection to select a character in the other side,or you will group the wrong characters.

E.g:

Selecting the first character




clicking the character on the other side will group them together.




If a character on one side is composed of two characters on the other side,First select the characters that needs to be composed together in the correct order by Ctrl+Clicking two characters on the same side.

Selecting the first character

 

Ctrl+Clicking the first second character



Clicking the equal character on the other side will group them



You can see on the Preview two grouped characters



Try to group as much characters possible.

Making a group will make the new script to support the grouped character.The more characters are grouped,more completes the new script.

Click Next

Click Finish to close the wizard.

After the wizard the Main window will look like this.




Fine tuning the font script


To fine tune the font script or to change the behavior you can use following tools on the View menu bar.



Use following links
How to use Key Mapping Window
How to use Character Modifer Configuration Window
How to use Non Mapped Keys Window
How to use Preview Font Window
How to use Unused Characters Window

Saving the Project

Save the project by selecting File->Save Project


Exporting the Created Script




Exporting the script will create the IntelliFontIME Font Script file, that can be used in the typing manager.
You must save them in the Scripts folder of the IntelliFontIME Installed folder.So the Typing Manager can load them later.

Default Location of the Scripts Folder