Graphite2 is a rendering engine for graphite fonts. These are TrueType fonts with additional tables containing smart rendering information and were originally developed to support complex non-Roman writing systems. They may contain rules for e.g. ligatures, glyph substitution, kerning, justification - this can make them useful even on text written in Roman writing systems such as English. Note that firefox provides an internal copy of the graphite engine and cannot use a system version, but it too should benefit from the availability of graphite fonts.
This package is known to build and work properly using an LFS-7.8 platform.
Download (HTTP): http://downloads.sourceforge.net/silgraphite/graphite2-1.3.1.tgz
Download MD5 sum: 0c4b5b0ebd59ff36837029bb60efc5b1
Download size: 8.2 MB
Estimated disk space required: 69 MB (with docs and tests)
Estimated build time: 0.3 SBU (with docs and tests)
FreeType-2.6, Python-2.7.10, and silgraphite to build the comparerender test and benchmarking tool, and if that is present, Harfbuzz-1.0.3 to add more functionality to it (this is a circular dependency, you would need to first build graphite2 without harfbuzz).
To build the documentation: AsciiDoc, Doxygen-1.8.10 and texlive-20150521 (or install-tl-unx)
To execute the test suite you will need FontTools (Python 2 module), otherwise, some tests fail.
You will need at least one suitable graphite font for the package to be useful.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/graphite2
Install Graphite2 by running the following commands:
mkdir build && cd build && cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -Wno-dev .. && make
If you wish to build the documentation, issue:
make docs
To test the results, issue: make test. Some tests fail if FontTools (Python 2 module) is not installed.
Now, as the root
user:
make install
If you built the documentation, install, as the root
user:
install -v -d -m755 /usr/share/doc/graphite2-1.3.1/api && cp -v -r -f doc/doxygen/{html,latex/refman.pdf} \ /usr/share/doc/graphite2-1.3.1/api && cp -v -r -f doc/{GTF,manual}.html \ /usr/share/doc/graphite2-1.3.1
-DCMAKE_VERBOSE_MAKEFILE=ON
: This
switch turns on build verbose mode.
Last updated on 2015-09-09 21:58:46 -0700