source: xsoft/other/fontforge.xml@ d4798472

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 d4798472 was d4798472, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 8.1 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<!--
8 <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.xz">
9-->
10 <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-&fontforge-version;.tar.xz">
11
12 <!ENTITY fontforge-download-ftp " ">
13 <!ENTITY fontforge-md5sum "efc0b3c79ba576133de70d67ccadcf24">
14 <!ENTITY fontforge-size "14 MB">
15 <!ENTITY fontforge-buildsize "167 MB (add 52 MB for the tests)">
16 <!ENTITY fontforge-time "0.2 SBU (with parallelism=4, add 0.1 SBU for the tests)">
17]>
18
19<sect1 id="fontforge" xreflabel="FontForge-&fontforge-version;">
20 <?dbhtml filename="fontforge.html"?>
21
22 <sect1info>
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 &lfs110_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="libspiro"/>,
84 <xref linkend="libuninameslist"/>, and
85 <xref linkend="libxml2"/>
86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <!-- not mentioned:
91 glib is required for gtk3
92 pango is required for gtk3
93 cairo is recommended for pango
94 xorg libs pulled in by gtk3 via libepoxy.
95 -->
96 <xref linkend="gtk3"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <!-- the following references in the source appear not to be used:
102 curl is mentioned in appveyor.yml for msys2 (integration tests, I think)
103 wget is referenced in Unicode/charset/generate.sh which will fail if
104 wget is not on the PATH, and in Unicode/dump.c - with wget moved off the
105 PATH, no problems, i.e. they are never run and never built.
106
107 Some of the others are at a minimum pulled in for recommended deps -
108 libpng from freetype from fontconfig from xorg libs.
109 harfbuzz is the same
110
111 Also, adding or removing optional deps other than Sphinx doesn't seem
112 to materially alter the build time or size.
113 -->
114 <xref linkend="giflib"/>,
115 <xref linkend="git"/>,
116 <xref linkend="libjpeg"/>,
117 <xref linkend="libtiff"/>,
118 <xref linkend="woff2"/>, and
119 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
120 (to build html documentation)
121 </para>
122
123 <para condition="html" role="usernotes">
124 User Notes: <ulink url="&blfs-wiki;/fontforge"/>
125 </para>
126 </sect2>
127
128 <sect2 role="installation">
129 <title>Installation of FontForge</title>
130 <para>
131 Install <application>FontForge</application> by running the following
132 commands:
133 </para>
134
135<screen><userinput>mkdir build &amp;&amp;
136cd build &amp;&amp;
137
138cmake -DCMAKE_INSTALL_PREFIX=/usr \
139 -DCMAKE_BUILD_TYPE=Release \
140 -Wno-dev .. &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>make check</command>.
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install</userinput></screen>
152
153 <para>
154 If you have installed <command>sphinx-build</command>, HTML documentation
155 was built and installed in
156 <filename class="directory">/usr/share/doc/fontforge</filename>.
157 To be able to access it as a versioned directory, create a
158 symlink as the
159 <systemitem class="username">root</systemitem> user:
160 </para>
161
162<screen role="root"
163 remap="doc"><userinput>ln -sv fontforge /usr/share/doc/fontforge-&fontforge-version;</userinput></screen>
164
165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
169
170 <para>
171 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
172 create an optimized release without debug information.
173 </para>
174
175 <para>
176 <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
177 intended for the package's developers.
178 </para>
179
180 <para>
181 <option>-DENABLE_X11=ON</option>: use an X11 backend instead of GDK3
182 (gtk+-3) for basic Xorg graphics.
183 </para>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
192 <segtitle>Installed Library</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>
197 fontforge, fontimage, fontlint and sfddiff
198 </seg>
199 <seg>
200 libfontforge.so and
201 /usr/lib/python&python3-version;/site-packages/{fontforge,psMat}.so
202 </seg>
203 <seg>
204 /usr/share/fontforge and optionally
205 /usr/share/doc/fontforge{,-&fontforge-version;}
206 </seg>
207 </seglistitem>
208 </segmentedlist>
209
210 <variablelist>
211 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
212 <?dbfo list-presentation="list"?>
213 <?dbhtml list-presentation="table"?>
214
215 <varlistentry id="fontforge-prog">
216 <term><command>fontforge</command></term>
217 <listitem>
218 <para>
219 is a program that allows you to create and
220 modify font files
221 </para>
222 <indexterm zone="fontforge fontforge-prog">
223 <primary sortas="b-fontforge">fontforge</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="fontimage">
229 <term><command>fontimage</command></term>
230 <listitem>
231 <para>
232 is a program that produces an image showing
233 representative glyphs of the font
234 </para>
235 <indexterm zone="fontforge fontimage">
236 <primary sortas="b-fontimage">fontimage</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="fontlint">
242 <term><command>fontlint</command></term>
243 <listitem>
244 <para>
245 is a program that checks the font for certain
246 common errors
247 </para>
248 <indexterm zone="fontforge fontlint">
249 <primary sortas="b-fontlint">fontlint</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="sfddiff">
255 <term><command>sfddiff</command></term>
256 <listitem>
257 <para>
258 is a program that compares two font files
259 </para>
260 <indexterm zone="fontforge sfddiff">
261 <primary sortas="b-sfddiff">sfddiff</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 </variablelist>
267
268 </sect2>
269
270</sect1>
Note: See TracBrowser for help on using the repository browser.