source: xsoft/other/fontforge.xml@ 37191af

systemd-13485
Last change on this file since 37191af was 37191af, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Sync to trunk r17270. Last round for the night.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17330 af4574ff-66df-0310-9fd7-8a98e5e911e0

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