silnrsi/graphite

Graphite is a "smart font" system developed specifically to handle the complexities of lesser-known languages of the world.

188

stars

1,679

commits

C++

primary language

May 31, 2026

updated

graphite.sil.org/

README

Graphite engine

Project CI status

OSIntel 64 bitIntel 32 bitArm 32 bit
LinuxBuild StatusBuild StatusBuild Status
WindowsBuild StatusBuild Status

What is Graphite?

Graphite is a system that can be used to create “smart fonts” capable of displaying writing systems with various complex behaviors. A smart font contains not only letter shapes but also additional instructions indicating how to combine and position the letters in complex ways.

Graphite was primarily developed to provide the flexibility needed for minority languages which often need to be written according to slightly different rules than well-known languages that use the same script.

Examples of complex script behaviors Graphite can handle include:

  • contextual shaping
  • ligatures
  • reordering
  • split glyphs
  • bidirectionality
  • stacking diacritics
  • complex positioning
  • shape aware kerning
  • automatic diacritic collision avoidance

See examples of scripts with complex rendering.

Graphite system overview

The Graphite system consists of:

  • A rule-based programming language Graphite Description Language (GDL) that can be used to describe the behavior of a writing system
  • A compiler for that language
  • A rendering engine that can serve as the layout component of a text-processing application

Graphite renders TrueType fonts that have been extended by means of compiling a GDL program.

Further technical information is available on the Graphite technical overview page.

Contributors

mhosken

906 commits

tim-eves

607 commits

sharoncorrell

131 commits

annie-o

7 commits

silnrsi/graphite

Graphite is a "smart font" system developed specifically to handle the complexities of lesser-known languages of the world.

188

stars

1,679

commits

C++

primary language

May 31, 2026

updated

graphite.sil.org/

README

Graphite engine

Project CI status

OSIntel 64 bitIntel 32 bitArm 32 bit
LinuxBuild StatusBuild StatusBuild Status
WindowsBuild StatusBuild Status

What is Graphite?

Graphite is a system that can be used to create “smart fonts” capable of displaying writing systems with various complex behaviors. A smart font contains not only letter shapes but also additional instructions indicating how to combine and position the letters in complex ways.

Graphite was primarily developed to provide the flexibility needed for minority languages which often need to be written according to slightly different rules than well-known languages that use the same script.

Examples of complex script behaviors Graphite can handle include:

  • contextual shaping
  • ligatures
  • reordering
  • split glyphs
  • bidirectionality
  • stacking diacritics
  • complex positioning
  • shape aware kerning
  • automatic diacritic collision avoidance

See examples of scripts with complex rendering.

Graphite system overview

The Graphite system consists of:

  • A rule-based programming language Graphite Description Language (GDL) that can be used to describe the behavior of a writing system
  • A compiler for that language
  • A rendering engine that can serve as the layout component of a text-processing application

Graphite renders TrueType fonts that have been extended by means of compiling a GDL program.

Further technical information is available on the Graphite technical overview page.

Contributors

mhosken

906 commits

tim-eves

607 commits

sharoncorrell

131 commits

annie-o

7 commits

Languages

C++

68.3%

C#

9.6%

Python

7.8%

C

6.4%

CMake

4.3%

Perl

1.7%