Skip to content

locl — Localized Forms

locl (Localized Forms) replaces default glyphs with localized forms, for a script shared by multiple languages.

The specification’s example is the Cyrillic script used in Bulgarian and Serbian. Some letters found in both languages have forms that differ not only from their Russian counterparts, but from each other.

A commonly cited case is the Latin letter i. Some fonts provide a form of i distinct from the default, for Turkish. The workbench font also has an i.loclTRK that differs in height from the default i.

The specification states that locl should always be applied. Which language system is selected is determined by metadata indicating the language of the text, not by direct control from the maker or the user.

Without locl
istanbul
With locl
istanbul
.fea source
Compiling…

The rules are written with Lookup Type 1. In an actual font, a language statement specifies which language system the substitution applies to, but this Playground does not distinguish language systems — it always applies the rule and shows the result.

Without rules
istanbul
With rules
istanbul
Compiling…