Back

Adding your font to Arabic Editor

    Please note the follwoing :

    A- Before adding any font to the Arabic Editor, make sure that you have permission from the font's owner.
    B- Arabic Editor cannot use Windows Arabic fonts because they don't support all Arabic Accents ( Harakat Altshkell) and the letter Alef Al-khngreeh.

    Introduction 

    The font file contains a table of symbols (Glyphs); each symbol has its own index.

    Every font has a Physical name and a unique Logical name.

    The Physical name is the name of the file.
    The Logical name is the name of the font, which is used by the programs and appears in the fonts list of any program such as MS Word and others.

    In the Windows\Fonts directory you will find the list of fonts, which are used by Windows.

    Example:

    Times.tff                 is the Physical name of the font and it is the file name

    Times New Roman is the logical name, which appears in the fonts list.

     

    Requirements for adding a font to Arabic Editor

    To add a font to Arabic Editor you would need to have a font program, such as FontCreator,
    which allows you to create and edit the fonts .

     

    How to add the fonts?

    You would need to follow the next steps to add your font to the Arabic Editor

    1-  Use the FontCreator and open one of the existing fonts of Arabic Editor such as AWA_Bas.ttf, its logical name is AwriteA_Basic ,  which can be found in the Sysdat sub directory of the Arabic Editor.

    2-  Use the same FontCreator and open your font which could be for example GrndReg.ttf. By now you should have the 2 files open in the FontCreator.

    3- Go to the Windows menu in FontCreator then select the command Tile Vertical, the 2 fonts will by displayed near to each other.

    4- Right mouse click on the glyph of the font  (GrndReg.ttf) and select the command Copy then Right mouse click on the equivalent Glyph in AWA_Bas.ttf and Paste the Glyph

    Important note:

    Each letter has 4 or 2 shapes so it is important to paste the shape over the right one.

    The order of the shapes in the Summitsoft fonts are usually as follows :

    First shape is for the Initial letter i.e. when it is not connected to other letters.
    Second shape is for the letter at the beginning of the word.
    Third shape is for the letter in the middle of the word.
    Fourth shape is for the letter at the end of the word.

    5- After pasting the new shapes change the logical name of the AWA_Bas.ttf from AwriteA_Basic to AwriteA_My_NewFont and do that by going to the
    menu Format then select the command Naming and there you will need to replace word Basic by the word My_New_Font or any other name so the new logical font name will be AwriteA_My_NewFont

    6-     From the File menu Save As the AWA_Bas.ttf  to AWA_My_Font.ttf and place it in the User_fonts sub directory of the Arabic Editor.

    7-     Run the Arabic Editor and the new font name , AwriteA_My_NewFont , will appear in the fonts list then you can select it and use it in the program.

    P.S.

    A-   It is important that the new logical name of the font should start with AwriteA_

    B- The Font should be placed in the User_fonts sub directory of the Arabic Editor.

    C- FontCreator Web site

    http://www.high-logic.com/download.html 

     

    The figures below demonstrate the process of Adding the fonts graphically

    Figure 1-A, Copy the shape from GrndReg.ttf then patse to AWA_Bas.ttf , repeat this step for all the shapes.

     

    Figure 1-B, After pasting the new shapes change the logical name of the AWA_Bas.ttf from AwriteA_Basic to AwriteA_My_NewFont and that by going to the menu Format then select the command Naming and there you will need to replace word Basic by the word My_New_Font or any other name so the new logical font name will be AwriteA_My_NewFont then click on Ok.

     

    Figure 1-C, From the File menu Save As the AWA_Bas.ttf  to AWA_My_Font.ttf and place it in the User_fonts sub directory of the Arabic Editor.

     

    Figure 1-D, Run the Arabic Editor and the new font name , AwriteA_My_NewFont , will appear in the fonts list then you can select it and use it in the program.