source: xsoft/other/fontforge.xml@ bb36f0cd

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bb36f0cd was bb36f0cd, checked in by Pierre Labastie <pieere@…>, 8 years ago

For fontforge, the desktop file is not installed if update-mime-database and
update-desktop-database are not found in the path. Since we have instructions
to modify the desktop file, add desktop-file-utils and shared-mime-info
as recommended dependencies.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17204 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.3 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-&fontforge-version;.tar.gz">
8 <!ENTITY fontforge-download-ftp " ">
9 <!ENTITY fontforge-md5sum "74c49c73822d642b0511718d8eeb2210">
10 <!ENTITY fontforge-size "20 MB">
11 <!ENTITY fontforge-buildsize "243 MB (without tests)">
12 <!ENTITY fontforge-time "1.5 SBU (without 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 &lfs79_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 <para>
122 Install <application>FontForge</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>sed -i 's%naist.jp/pub/NetBSD/packages%netbsd.org/pub/pkgsrc%' \
127 tests/Makefile.in &amp;&amp;
128./configure --prefix=/usr \
129 --enable-gtk2-use \
130 --disable-static \
131 --docdir=/usr/share/doc/fontforge-&fontforge-version; &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 To test the results, issue: <command>make check</command>.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install</userinput></screen>
143
144 <note>
145 <para>
146 <application>Fontforge</application> may need a workaround to start,
147 due to a bug in the splash screen. If you wish to start from a
148 terminal, either issue <command>fontforge -new</command>, or, after
149 issuing <command>fontforge</command>, press Ctrl-C once, after the
150 splash screen appears. For the menu, make the following substitution,
151 as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>sed -e '/Exec/ s/fontforge/&amp; -new/' \
155 -i /usr/share/applications/fontforge.desktop</userinput></screen>
156 </note>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para>
164 <parameter>sed -i 's%naist.jp/pub/NetBSD/packages%netbsd.org/pub/pkgsrc%'</parameter>
165 The tests get the MunhwaGothic-Bold font - it is no longer at that mirror,
166 so use the primary NetBSD source.
167 </para>
168
169 <para>
170 <parameter>--enable-gtk2-use</parameter>: allows to use the GTK+2 graphics
171 instead of basic Xorg graphics.
172 </para>
173
174 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
175 href="../../xincludes/static-libraries.xml"/>
176
177 <para>
178 <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
179 and FONTFORGE_DEBUG conditional code. Requires
180 <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
181 </para>
182
183 </sect2>
184
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Programs</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
194 <seg>
195 fontforge, fontimage, fontlint and sfddiff
196 </seg>
197 <seg>
198 libfontforgeexe.so, libfontforge.so, libgdraw.so,
199 libgioftp.so, libgunicode.so, libgutils.so, and
200 /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
201 </seg>
202 <seg>
203 /usr/{include,share}/fontforge and
204 /usr/share/doc/fontforge-&fontforge-version;
205 </seg>
206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
214 <varlistentry id="fontforge-prog">
215 <term><command>fontforge</command></term>
216 <listitem>
217 <para>
218 is a program that allows you to create and
219 modify font files.
220 </para>
221 <indexterm zone="fontforge fontforge-prog">
222 <primary sortas="b-fontforge">fontforge</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="fontimage">
228 <term><command>fontimage</command></term>
229 <listitem>
230 <para>
231 is a program that produces an image showing
232 representative glyphs of the font.
233 </para>
234 <indexterm zone="fontforge fontimage">
235 <primary sortas="b-fontimage">fontimage</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="fontlint">
241 <term><command>fontlint</command></term>
242 <listitem>
243 <para>
244 is a program that checks the font for certain
245 common errors.
246 </para>
247 <indexterm zone="fontforge fontlint">
248 <primary sortas="b-fontlint">fontlint</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="sfddiff">
254 <term><command>sfddiff</command></term>
255 <listitem>
256 <para>
257 is a program that compares two font files.
258 </para>
259 <indexterm zone="fontforge sfddiff">
260 <primary sortas="b-sfddiff">sfddiff</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 </variablelist>
266
267 </sect2>
268
269</sect1>
Note: See TracBrowser for help on using the repository browser.