Aghja: sources and resources


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

Instructions

  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 ./ghj2svg.sh Aghja mytest "My test sentence." (mytest.html and mytest.svg are created in Aghja.V2/tgt).
    4. Run ./genfont.sh Aghja
    5. Run ./gencalt.sh Aghja (you will see later that a manual editing should occurs here).
    6. Run ./genglyphs.sh Aghja (Be patient...).
    7. Run ./gensfd.sh Aghja (overlap errors can be ignored for now).
    8. Run ./genanchors.sh Aghja
    9. Run ./genotf.sh 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 genfont.sh, gencalt.sh, 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 genoblique.sh
  9. Run genglyphs.sh
  10. Run genoblique.sh
  11. Run gensfd.sh
  12. Open (fontname)-Oblique.sfd with FontForge, validate and fix errors then save.
  13. Run genanchors.sh
  14. Run genotf.sh