gecko-dev/gfx/graphite2
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
..
include/graphite2 Bug 1262846 - Update graphite2 library to release 1.3.8. r=jrmuizel 2016-04-07 19:57:53 +01:00
src Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
ChangeLog Bug 1220591 - Update graphite2 to release 1.3.4. r=jdaggett 2015-11-04 07:07:15 +00:00
COPYING Bug 1240007 - Update graphite2 library to release 1.3.5. r=jdaggett 2016-01-20 08:50:32 +00:00
LICENSE Bug 1220591 - Update graphite2 to release 1.3.4. r=jdaggett 2015-11-04 07:07:15 +00:00
moz-gr-update.sh Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett 2016-03-15 07:53:04 +00:00
README.md Bug 1220591 - Update graphite2 to release 1.3.4. r=jdaggett 2015-11-04 07:07:15 +00:00
README.mozilla Bug 1261135 - Cherry-pick commit 56157cf9845d13452068c297205f96b946126cc2 from graphite2 upstream. r=jrmuizel 2016-04-12 07:06:36 +01:00

Graphite engine

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.