Aghja: sources and resources

Name                         Last modified      Size  Description
Parent Directory                                  -   
aghja_20171114.tar.xz.asc    2017-11-14 18:46  833   tar file's Signature
aghja_20171114.tar.xz        2017-11-14 18:45   10K  
PecitaV6_20171114.tar.xz.asc 2017-11-14 17:55  833   tar file's Signature
PecitaV6_20171114.tar.xz     2017-11-14 17:54  156K  Pecita source files for the Aghja tool
Pecita-Latin.otf             2017-11-14 12:12  116K  Pecita Version 6, reduced to the Latin script
Pecita-Latin-Oblique.otf     2017-10-24 16:02  125K  
AghjaV2_20171114.tar.xz.asc  2017-11-14 18:35  833   tar file's Signature
AghjaV2_20171114.tar.xz      2017-11-14 18:33  115K  Source files
Aghja.otf                    2017-11-14 18:22  111K  Resulting font
Aghja-Oblique.otf            2017-10-29 08:39  110K  


  1. If this is not done, install the Saxon-B XSLT Processor (my version is Saxon-HE 9.5).
  2. If this is not done, install FontForge. Choose version 20120731 if you can, if not 20161112 or above.
  3. Download the three tar files.
    • aghja_*.tar.xz is the Aghja tool.
    • AghjaV2_*.tar.xz is the Aghja Version 2 font.
    • AghjaV2_*.tar.xz is the Pecita-Latin Version 6 font.
  4. You can also download the asc signatures to test the tar files integrity.
    • gpg --verify aghja_*.tar.xz.asc aghja_*.tar.xz
    • gpg --verify AghjaV2_*.tar.xz.asc AghjaV2_*.tar.xz
    • gpg --verify PecitaV6_*.tar.xz.asc PecitaV6_*.tar.xz
  5. Extract the three tar file. The three tar contain three independent directories.
    • The aghja directory contains the aghja tool. I advise you to place it for the moment at the root of your personal directory.
    • The Aghja.V2 and Pecita.V6 font directories should be under a "Fonts" directory for example.
  6. You need now to modify the file local.xml in the aghja directory to let the tool know where the fonts are (self explanatory).
  7. Validate the installation (shown here with Aghja but it can be with Pecita).
    1. Open a terminal.
    2. Change the directory to aghja
    3. Run ./ Aghja mytest "My test sentence." (mytest.html and mytest.svg are created in Aghja.V2/tgt).
    4. Run ./ Aghja
    5. Run ./ Aghja (you will see later that a manual editing should occurs here).
    6. Run ./ Aghja (Be patient...).
    7. Run ./ Aghja (overlap errors can be ignored for now).
    8. Run ./ Aghja
    9. Run ./ Aghja
    10. You should find the files "AghjaSource.sfd", "Aghja.sfd" et "Aghja.otf" in the "Aghja.V2/tgt" directory. The letters of the fonts do not connect: this is normal at this point.
  8. Now go to the detailed documentation of the site.

To generate an Italic (Oblique) variant of the font

  1. Clone the font directory after,, the manual calt editing and rename it with an appending -Oblique.
  2. Go to the target subdirectory and rename (fontname)Source.sfd to (fontname)-ObliqueSource.sfd
  3. Open (fontname)-Oblique.sfd with FontForge, go to Element/Font_Info and append -Oblique to the font name.
  4. Do not change the family name.
  5. Append (space)Oblique to the human font name.
  6. Change Style to Italic in the OS/2 misc panel and save.
  7. Append -Oblique to the font name in source/font.xml
  8. Run
  9. Run
  10. Run
  11. Run
  12. Open (fontname)-Oblique.sfd with FontForge, validate and fix errors then save.
  13. Run
  14. Run