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