%general-entities; ]> $LastChangedBy$ $Date$ Graphite2-&graphite2-version; Graphite2 Introduction to Graphite2 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. &lfs79_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &graphite2-md5sum; Download size: &graphite2-size; Estimated disk space required: &graphite2-buildsize; Estimated build time: &graphite2-time; Graphite2 Dependencies Required Optional , , and silgraphite to build the comparerender test and benchmarking tool, and if that is present, 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, , (or ), and dblatex (for PDF docs) To execute the test suite you will need FontTools (Python 2 module), otherwise, the "cmp" tests fail. Optional (at runtime) You will need at least one suitable graphite font for the package to be useful. User Notes: Installation of Graphite2 Some tests fail if FontTools (Python 2 module) is not installed. These tests can be removed with: sed -i '/cmptest/d' tests/CMakeLists.txt Install Graphite2 by running the following commands: mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ .. && make If you wish to build the documentation, issue: make docs To test the results, issue: make test. 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-&graphite2-version;/api && cp -v -r -f doc/doxygen/{html,latex/refman.pdf} \ /usr/share/doc/graphite2-&graphite2-version;/api && cp -v -r -f doc/{GTF,manual}.html \ /usr/share/doc/graphite2-&graphite2-version; Command Explanations : This switch turns on build verbose mode. Contents Installed Programs Installed Libraries Installed Directories gr2fonttest, and optionally comparerender libgraphite2.so /usr/{include,share}/graphite2 and optionally /usr/share/doc/graphite2-&graphite2-version; Short Descriptions comparerender is a test and benchmarking tool. comparerender gr2fonttest is a diagnostic console tool for graphite fonts. gr2fonttest libgraphite2.so is a rendering engine for graphite fonts. libgraphite2.so