1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!-- the master source at palaso.org looks easy in a browser, but in fact
|
---|
8 | everything is in numbered attachment directories, one per file, so that will
|
---|
9 | probably be even worse than sf.net for finding if there is a new version -->
|
---|
10 | <!ENTITY graphite2-download-http
|
---|
11 | "&sourceforge-repo;/silgraphite/graphite2-&graphite2-version;.tgz">
|
---|
12 | <!ENTITY graphite2-download-ftp " ">
|
---|
13 | <!ENTITY graphite2-md5sum "2ef839348fe28e3b923bf8cced440227">
|
---|
14 | <!ENTITY graphite2-size "6.7 MB">
|
---|
15 | <!ENTITY graphite2-buildsize "44 MB">
|
---|
16 | <!ENTITY graphite2-time "0.2 SBU">
|
---|
17 | ]>
|
---|
18 |
|
---|
19 | <sect1 id="graphite2" xreflabel="Graphite2-&graphite2-version;">
|
---|
20 | <?dbhtml filename="graphite2.html"?>
|
---|
21 |
|
---|
22 | <sect1info>
|
---|
23 | <othername>$LastChangedBy$</othername>
|
---|
24 | <date>$Date$</date>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>Graphite2-&graphite2-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="graphite2">
|
---|
30 | <primary sortas="a-Graphite2">Graphite2</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to Graphite2</title>
|
---|
35 |
|
---|
36 | <para>
|
---|
37 | <application>Graphite2</application> is a rendering engine for graphite
|
---|
38 | fonts. These are TrueType fonts with additional tables containing smart
|
---|
39 | rendering information and were originally developed to support complex
|
---|
40 | non-Roman writing systems. They may contain rules for e.g. ligatures,
|
---|
41 | glyph substitution, kerning, justification - this can make them useful
|
---|
42 | even on text written in Roman writing systems such as English. Note that
|
---|
43 | <application>firefox</application> provides an internal copy of the
|
---|
44 | graphite engine and cannot use a system version, but it too should benefit
|
---|
45 | from the availability of graphite fonts.
|
---|
46 | </para>
|
---|
47 |
|
---|
48 | &lfs77_checked; &gcc5_checked;
|
---|
49 |
|
---|
50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
51 | <itemizedlist spacing="compact">
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (HTTP): <ulink url="&graphite2-download-http;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download (FTP): <ulink url="&graphite2-download-ftp;"/>
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download MD5 sum: &graphite2-md5sum;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Download size: &graphite2-size;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated disk space required: &graphite2-buildsize;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Estimated build time: &graphite2-time;
|
---|
80 | </para>
|
---|
81 | </listitem>
|
---|
82 | </itemizedlist>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect3">Graphite2 Dependencies</bridgehead>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
87 | <para role="required">
|
---|
88 | <xref linkend="cmake"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | <xref linkend="freetype2"/>,
|
---|
94 | <xref linkend="python2"/>, and
|
---|
95 | <ulink url="http://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/">silgraphite</ulink>
|
---|
96 | to build the <command>comparerender</command> test and benchmarking tool,
|
---|
97 | and if that is present,
|
---|
98 | <xref linkend="harfbuzz"/> to add more functionality to it (this is a
|
---|
99 | circular dependency, you would need to first build
|
---|
100 | <application>graphite2</application> without
|
---|
101 | <application>harfbuzz</application>).
|
---|
102 | </para>
|
---|
103 | <para>To build the documentation, which is reported to be broken, would
|
---|
104 | require all of
|
---|
105 | <ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink>,
|
---|
106 | <xref linkend="doxygen"/> and
|
---|
107 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <bridgehead renderas="sect4">Optional (at runtime)</bridgehead>
|
---|
111 | <para role="optional">
|
---|
112 | You will need at least one suitable <ulink
|
---|
113 | url="http://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_fonts">graphite font</ulink>
|
---|
114 | for the package to be useful.
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <para condition="html" role="usernotes">
|
---|
118 | User Notes: <ulink url="&blfs-wiki;/graphite2"/>
|
---|
119 | </para>
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="installation">
|
---|
123 | <title>Installation of Graphite2</title>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Install <application>Graphite2</application> by running the following
|
---|
127 | commands:
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <screen><userinput>mkdir build &&
|
---|
131 | cd build &&
|
---|
132 |
|
---|
133 | cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
134 | make</userinput></screen>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | To test the results, issue: <command>make test</command>.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="content">
|
---|
148 | <title>Contents</title>
|
---|
149 |
|
---|
150 | <segmentedlist>
|
---|
151 | <segtitle>Installed Programs</segtitle>
|
---|
152 | <segtitle>Installed Libraries</segtitle>
|
---|
153 | <segtitle>Installed Directories</segtitle>
|
---|
154 |
|
---|
155 | <seglistitem>
|
---|
156 | <seg>
|
---|
157 | gr2fonttest, and optionally comparerender
|
---|
158 | </seg>
|
---|
159 | <seg>
|
---|
160 | libgraphite2.so
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | /usr/include/graphite2 and
|
---|
164 | /usr/share/graphite2
|
---|
165 | </seg>
|
---|
166 | </seglistitem>
|
---|
167 | </segmentedlist>
|
---|
168 |
|
---|
169 | <variablelist>
|
---|
170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
171 | <?dbfo list-presentation="list"?>
|
---|
172 | <?dbhtml list-presentation="table"?>
|
---|
173 |
|
---|
174 | <varlistentry id="comparerender">
|
---|
175 | <term><command>comparerender</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | is a test and benchmarking tool.
|
---|
179 | </para>
|
---|
180 | <indexterm zone="graphite2 comparerender">
|
---|
181 | <primary sortas="b-comparerender">comparerender</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="gr2fonttest">
|
---|
187 | <term><command>gr2fonttest</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | is a diagnostic console tool for graphite fonts.
|
---|
191 | </para>
|
---|
192 | <indexterm zone="graphite2 gr2fonttest">
|
---|
193 | <primary sortas="b-gr2fonttest">gr2fonttest</primary>
|
---|
194 | </indexterm>
|
---|
195 | </listitem>
|
---|
196 | </varlistentry>
|
---|
197 |
|
---|
198 | <varlistentry id="libgraphite2">
|
---|
199 | <term><filename class="libraryfile">libgraphite2.so</filename></term>
|
---|
200 | <listitem>
|
---|
201 | <para>
|
---|
202 | is a rendering engine for graphite fonts.
|
---|
203 | </para>
|
---|
204 | <indexterm zone="graphite2 libgraphite2">
|
---|
205 | <primary sortas="c-libgraphite2">libgraphite2.so</primary>
|
---|
206 | </indexterm>
|
---|
207 | </listitem>
|
---|
208 | </varlistentry>
|
---|
209 |
|
---|
210 | </variablelist>
|
---|
211 |
|
---|
212 | </sect2>
|
---|
213 |
|
---|
214 | </sect1>
|
---|