gecko-dev/gfx/graphite2
shravanrn@gmail.com bfd31f93d3 Bug 1569369 - Add RLBox verifications to tainted data from sandboxed libGraphite r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D42725

--HG--
extra : moz-landing-system : lando
2019-12-19 16:05:47 +00:00
..
geckoextra Bug 1569369 - Add RLBox verifications to tainted data from sandboxed libGraphite r=jfkthame 2019-12-19 16:05:47 +00:00
include/graphite2 Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
src Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame 2019-12-19 16:05:35 +00:00
COPYING
ChangeLog
LICENSE
README.md Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
README.mozilla Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
moz-gr-update.sh

README.md

Graphite engine

Project CI status

OS Intel 64 bit Intel 32 bit Arm 32 bit
Linux Build Status Build Status Build Status
Windows Build Status Build 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.