Skip to content

slavonic/Shafarik

Repository files navigation

Shafarik Typeface

The Shafarik font, named after Pavel Jozef Šafárik (1795–1861), Slovak-born scholar and one of the founders of modern Slavic philology, is a specialized font intended for an academic presentation of Old Church Slavonic (OCS) texts written in either the Cyrillic or Glagolitic alphabets.

Sample Image

History

The font is based on CyrillicaShafarik by SynthesisSoft, 1994, subsequently redesigned by Nikita Simmons and edited by Aleksandr Andreev and Nikita Simmons as part of the Slavonic Computing Initiative.

License

This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at https://openfontlicense.org/.

Building the Fonts

The font is built using fontmake and gftools post processing script. Tools are all python based, so it must be previously installed.

To install all the Python tools into a virtualenv, do the following:

From terminal:


cd your/local/project/directory

#once in the project folder create a virtual environment. 
This step has to be done just once, the first time:

python3 -m venv venv

#activate the virtual environment

source venv/bin/activate

#install the required dependencies

pip install -r requirements.txt

Then run the this command:

cd sources
gftools builder config.yaml

The fonts are supposed to build automatically in the repository using GitHub Actions, but this does not work correctly for some reason.

Features

See the documentation file for a description of the features. Presently the documentation is available as a PDF document, eventually this document will be converted to a webpage.

More Church Slavonic Fonts

See the main repository and the website.