source: xsoft/other/fontforge.xml@ b59e5eb3

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b59e5eb3 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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