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 | <!-- Note: Be careful with url. The 20161005 is one day greater than
|
---|
8 | the version. -->
|
---|
9 |
|
---|
10 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/20161005/fontforge-dist-&fontforge-version;.tar.gz">
|
---|
11 | <!ENTITY fontforge-download-ftp " ">
|
---|
12 | <!ENTITY fontforge-md5sum "15c0d785112dc7f1884df357f79def47">
|
---|
13 | <!ENTITY fontforge-size "20 MB">
|
---|
14 | <!ENTITY fontforge-buildsize "189 MB (with tests)">
|
---|
15 | <!ENTITY fontforge-time "1.9 SBU (with tests)">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="fontforge" xreflabel="FontForge-&fontforge-version;">
|
---|
19 | <?dbhtml filename="fontforge.html"?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>FontForge-&fontforge-version;</title>
|
---|
27 |
|
---|
28 | <indexterm zone="fontforge">
|
---|
29 | <primary sortas="a-FontForge">FontForge</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to FontForge</title>
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | The <application>FontForge</application> package contains an
|
---|
37 | outline font editor that lets you create your own postscript,
|
---|
38 | truetype, opentype, cid-keyed, multi-master, cff, svg and
|
---|
39 | bitmap (bdf, FON, NFNT) fonts, or edit existing ones.
|
---|
40 | </para>
|
---|
41 |
|
---|
42 | &lfs80_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 |
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (HTTP): <ulink url="&fontforge-download-http;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (FTP): <ulink url="&fontforge-download-ftp;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download MD5 sum: &fontforge-md5sum;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download size: &fontforge-size;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated disk space required: &fontforge-buildsize;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated build time: &fontforge-time;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">FontForge Dependencies</bridgehead>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
82 | <para role="required">
|
---|
83 | <xref linkend="freetype2"/>,
|
---|
84 | <xref linkend="glib2"/>, and
|
---|
85 | <xref linkend="libxml2"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
89 | <para role="recommended">
|
---|
90 | <xref linkend="cairo"/>,
|
---|
91 | <xref linkend="gtk2"/>,
|
---|
92 | <xref linkend="harfbuzz"/>,
|
---|
93 | <xref linkend="pango"/> (required if Xorg libraries are present)
|
---|
94 | <xref linkend="desktop-file-utils"/>,
|
---|
95 | <xref linkend="shared-mime-info"/>, and
|
---|
96 | <xref linkend="xorg7-lib"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
100 | <para role="optional">
|
---|
101 | <xref linkend="giflib"/>,
|
---|
102 | <xref linkend="libjpeg"/>,
|
---|
103 | <xref linkend="libpng"/>,
|
---|
104 | <xref linkend="libtiff"/>,
|
---|
105 | <xref linkend="python2"/>,
|
---|
106 | <xref linkend="wget"/> (needed for tests),
|
---|
107 | <ulink url="http://ipython.org/">IPython</ulink>,
|
---|
108 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
|
---|
109 | <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
|
---|
110 | libunicodenames</ulink>,
|
---|
111 | <ulink url="https://github.com/fontforge/libuninameslist">
|
---|
112 | libuninameslist</ulink>, and
|
---|
113 | <ulink url="http://www.zeromq.org/">zeromq (libzmq)</ulink>
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para condition="html" role="usernotes">
|
---|
117 | User Notes: <ulink url="&blfs-wiki;/fontforge"/>
|
---|
118 | </para>
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="installation">
|
---|
122 | <title>Installation of FontForge</title>
|
---|
123 | <!--
|
---|
124 | <note>
|
---|
125 | <para>
|
---|
126 | For this version there is a separate and much larger fontforge tarball
|
---|
127 | without the -dist- in its name, do not try to use that. The -dist- version
|
---|
128 | was created a few minutes later, but the version was typo'd and it will
|
---|
129 | untar to fontforge-2.0-20140101.
|
---|
130 | </para>
|
---|
131 | </note>
|
---|
132 | -->
|
---|
133 | <para>
|
---|
134 | Install <application>FontForge</application> by running the following
|
---|
135 | commands:
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <screen><userinput>./configure --prefix=/usr \
|
---|
139 | --enable-gtk2-use \
|
---|
140 | --disable-static \
|
---|
141 | --docdir=/usr/share/doc/fontforge-&fontforge-version; &&
|
---|
142 | make</userinput></screen>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | To test the results, issue: <command>make check</command>.
|
---|
146 | This will download two ttf files.
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="commands">
|
---|
158 | <title>Command Explanations</title>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <parameter>--enable-gtk2-use</parameter>: uses the GTK+2 graphics
|
---|
162 | instead of basic Xorg graphics.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
166 | href="../../xincludes/static-libraries.xml"/>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
|
---|
170 | and FONTFORGE_DEBUG conditional code. Requires
|
---|
171 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="content">
|
---|
177 | <title>Contents</title>
|
---|
178 |
|
---|
179 | <segmentedlist>
|
---|
180 | <segtitle>Installed Programs</segtitle>
|
---|
181 | <segtitle>Installed Libraries</segtitle>
|
---|
182 | <segtitle>Installed Directories</segtitle>
|
---|
183 |
|
---|
184 | <seglistitem>
|
---|
185 | <seg>
|
---|
186 | fontforge, fontimage, fontlint and sfddiff
|
---|
187 | </seg>
|
---|
188 | <seg>
|
---|
189 | libfontforgeexe.so, libfontforge.so, libgdraw.so,
|
---|
190 | libgioftp.so, libgunicode.so, libgutils.so, and
|
---|
191 | /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
|
---|
192 | </seg>
|
---|
193 | <seg>
|
---|
194 | /usr/{include,share}/fontforge and
|
---|
195 | /usr/share/doc/fontforge-&fontforge-version;
|
---|
196 | </seg>
|
---|
197 | </seglistitem>
|
---|
198 | </segmentedlist>
|
---|
199 |
|
---|
200 | <variablelist>
|
---|
201 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
202 | <?dbfo list-presentation="list"?>
|
---|
203 | <?dbhtml list-presentation="table"?>
|
---|
204 |
|
---|
205 | <varlistentry id="fontforge-prog">
|
---|
206 | <term><command>fontforge</command></term>
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | is a program that allows you to create and
|
---|
210 | modify font files.
|
---|
211 | </para>
|
---|
212 | <indexterm zone="fontforge fontforge-prog">
|
---|
213 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
214 | </indexterm>
|
---|
215 | </listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | <varlistentry id="fontimage">
|
---|
219 | <term><command>fontimage</command></term>
|
---|
220 | <listitem>
|
---|
221 | <para>
|
---|
222 | is a program that produces an image showing
|
---|
223 | representative glyphs of the font.
|
---|
224 | </para>
|
---|
225 | <indexterm zone="fontforge fontimage">
|
---|
226 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="fontlint">
|
---|
232 | <term><command>fontlint</command></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | is a program that checks the font for certain
|
---|
236 | common errors.
|
---|
237 | </para>
|
---|
238 | <indexterm zone="fontforge fontlint">
|
---|
239 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 |
|
---|
244 | <varlistentry id="sfddiff">
|
---|
245 | <term><command>sfddiff</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>
|
---|
248 | is a program that compares two font files.
|
---|
249 | </para>
|
---|
250 | <indexterm zone="fontforge sfddiff">
|
---|
251 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
252 | </indexterm>
|
---|
253 | </listitem>
|
---|
254 | </varlistentry>
|
---|
255 |
|
---|
256 | </variablelist>
|
---|
257 |
|
---|
258 | </sect2>
|
---|
259 |
|
---|
260 | </sect1>
|
---|