Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 2.74 KB

README.md

File metadata and controls

47 lines (29 loc) · 2.74 KB

Font generation

Gregorio uses .ttf fonts to for the chant. They are built in the distributed tarballs, but if you really need to compile them:

  • install fontforge with python extension
  • run make fonts in this directory (using the -j argument can save you some time here)
  • then you can test them directly, or install them (see next section)

Font installation

Fonts are installed with the usual process:

  • install-gtex.sh if you're under OSX or GNU/Linux
  • copy in C:\Windows\Fonts under Windows

The most important is that they must be found by fontconfig.

Stem length

Stem length are entirely configurable in gregorio, but are set during the time of font creation, so you cannot change it without modifying the font.

You can change stem length schema in a font when building it, by passing the -sc option to squarize.py, followed by the stem length schema you want your font to get. Currently available schemas are

  • default, adapted from the 1934 Antiphonale Monasticum, see comments in stemsschema.py for more information
  • solesmes, a schema provided by the Abbey of Solesmes

If you want a version of a font built with Solesmes' schema, or would like to see a new schema implemented, please contact the developers.

As an example, here is how to use greciliae with solesmes schema:

  • cd in the font/ directory (this one)
  • run fontforge -script squarize.py greciliae-base.sfd -o greciliae-solesmes.ttf -c greciliae.json -n greciliae-solesmes -sc solesmes
  • it will produce gregorio-solesmes.ttf, copy it in the same place as greciliae.ttf
  • use it in your TeX file: \gresetgregoriofont{greciliae-solesmes}

Ancient notation fonts

The file gregall.sfd contains the images on which the author has drawn the fonts. The images come from:

and are published here with the consent of these two institutions, which we thank. You can see the source for each glyph in GregorioNabcRef. Anyone wanting to improve/fork the font can base on this file, at the condition to release the new font under the SIL Open Font License.

The case of Gregoria

Support for Gregoria has been dropped.

Gregoria cannot be used by Gregorio directly (although it was the primary goal of Gregorio when it was created). As the font is not free, it's not possible to use the same process as caeciliae, because it would require to distribute a modified version.