[b9543da] | 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 |
|
---|
[d794630] | 7 | <!--
|
---|
[75d969ad] | 8 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.xz">
|
---|
[d794630] | 9 | -->
|
---|
| 10 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-&fontforge-version;.tar.xz">
|
---|
| 11 |
|
---|
[b9543da] | 12 | <!ENTITY fontforge-download-ftp " ">
|
---|
[d794630] | 13 | <!ENTITY fontforge-md5sum "a1f0cf790a659dc28ab7a3b8c4c0279b">
|
---|
[75d969ad] | 14 | <!ENTITY fontforge-size "14 MB">
|
---|
[d794630] | 15 | <!ENTITY fontforge-buildsize "244 MB (add 50 MB for the tests)">
|
---|
| 16 | <!ENTITY fontforge-time "0.6 SBU (with with parallelism=4, add 0.1 SBU for the tests)">
|
---|
[b9543da] | 17 | ]>
|
---|
| 18 |
|
---|
| 19 | <sect1 id="fontforge" xreflabel="FontForge-&fontforge-version;">
|
---|
| 20 | <?dbhtml filename="fontforge.html"?>
|
---|
| 21 |
|
---|
| 22 | <sect1info>
|
---|
| 23 | <othername>$LastChangedBy$</othername>
|
---|
| 24 | <date>$Date$</date>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>FontForge-&fontforge-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="fontforge">
|
---|
| 30 | <primary sortas="a-FontForge">FontForge</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to FontForge</title>
|
---|
| 35 |
|
---|
| 36 | <para>
|
---|
| 37 | The <application>FontForge</application> package contains an
|
---|
| 38 | outline font editor that lets you create your own postscript,
|
---|
| 39 | truetype, opentype, cid-keyed, multi-master, cff, svg and
|
---|
| 40 | bitmap (bdf, FON, NFNT) fonts, or edit existing ones.
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
[c9ea6c54] | 43 | &lfs91_checked;
|
---|
[b9543da] | 44 |
|
---|
| 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[00f3d9a] | 46 |
|
---|
[b9543da] | 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (HTTP): <ulink url="&fontforge-download-http;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download (FTP): <ulink url="&fontforge-download-ftp;"/>
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download MD5 sum: &fontforge-md5sum;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Download size: &fontforge-size;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated disk space required: &fontforge-buildsize;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Estimated build time: &fontforge-time;
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
[2bf53d6] | 79 |
|
---|
[b9543da] | 80 | <bridgehead renderas="sect3">FontForge Dependencies</bridgehead>
|
---|
| 81 |
|
---|
[e7af045] | 82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 83 | <para role="required">
|
---|
[d794630] | 84 | <xref linkend="libspiro"/>,
|
---|
| 85 | <xref linkend="libuninameslist"/>, and
|
---|
[bb36f0cd] | 86 | <xref linkend="libxml2"/>
|
---|
[e7af045] | 87 | </para>
|
---|
[633dc24e] | 88 |
|
---|
[b9543da] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
[d794630] | 91 | <!-- not mentioned:
|
---|
| 92 | glib is required for gtk3
|
---|
| 93 | pango is required for gtk3
|
---|
| 94 | cairo is recommended for pango
|
---|
| 95 | xorg libs pulled in by gtk3 via libepoxy.
|
---|
| 96 | -->
|
---|
| 97 | <xref linkend="gtk3"/>
|
---|
[b9543da] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
[d794630] | 102 | <!-- the following references in the source appear not to be used:
|
---|
| 103 | curl is mentioned in appveyor.yml for msys2 (integration tests, I think)
|
---|
| 104 | wget is referenced in Unicode/charset/generate.sh which will fail if
|
---|
| 105 | wget is not on the PATH, and in Unicode/dump.c - with wget moved off the
|
---|
| 106 | PATH, no problems, i.e. they are never run and never built.
|
---|
| 107 |
|
---|
| 108 | Some of the others are at a minimum pulled in for recommended deps -
|
---|
| 109 | libpng from freetype from fontconfig from xorg libs.
|
---|
| 110 | harfbuzz is the same
|
---|
| 111 |
|
---|
| 112 | Also, adding or removing optional deps other than Sphinx doesn't seem
|
---|
| 113 | to materially alter the build time or size.
|
---|
| 114 | -->
|
---|
[b9543da] | 115 | <xref linkend="giflib"/>,
|
---|
[d794630] | 116 | <xref linkend="git"/>,
|
---|
[b9543da] | 117 | <xref linkend="libjpeg"/>,
|
---|
| 118 | <xref linkend="libtiff"/>,
|
---|
[d794630] | 119 | <xref linkend="woff2"/>, and
|
---|
| 120 | <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
|
---|
| 121 | (to build html documentation)
|
---|
[b9543da] | 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para condition="html" role="usernotes">
|
---|
| 125 | User Notes: <ulink url="&blfs-wiki;/fontforge"/>
|
---|
| 126 | </para>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="installation">
|
---|
| 130 | <title>Installation of FontForge</title>
|
---|
| 131 | <para>
|
---|
| 132 | Install <application>FontForge</application> by running the following
|
---|
| 133 | commands:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[d794630] | 136 | <screen><userinput>mkdir build &&
|
---|
| 137 | cd build &&
|
---|
| 138 |
|
---|
| 139 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 140 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 141 | -Wno-dev .. &&
|
---|
[b9543da] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
[3e5e86a] | 145 | To test the results, issue: <command>make check</command>.
|
---|
[b9543da] | 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 |
|
---|
[d794630] | 154 | <para>
|
---|
| 155 | If you have installed <command>sphinx-build</command>, HTML documentation
|
---|
| 156 | was built and installed in
|
---|
| 157 | <filename class="directory">/usr/share/doc/fontforge</filename>.
|
---|
| 158 | To be able to access it as a versioned directory, create a
|
---|
| 159 | symlink as the
|
---|
| 160 | <systemitem class="username">root</systemitem> user:
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <screen role="root"
|
---|
| 164 | remap="doc"><userinput>ln -sv fontforge /usr/share/doc/fontforge-&fontforge-version;</userinput></screen>
|
---|
| 165 |
|
---|
[b9543da] | 166 | </sect2>
|
---|
| 167 |
|
---|
[43e64a4a] | 168 | <sect2 role="commands">
|
---|
| 169 | <title>Command Explanations</title>
|
---|
| 170 |
|
---|
[e7af045] | 171 | <para>
|
---|
[d794630] | 172 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
| 173 | create an optimized release without debug information.
|
---|
[e7af045] | 174 | </para>
|
---|
| 175 |
|
---|
[d794630] | 176 | <para>
|
---|
| 177 | <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
|
---|
| 178 | intended for the package's developers.
|
---|
| 179 | </para>
|
---|
[43e64a4a] | 180 |
|
---|
[28370fe] | 181 | <para>
|
---|
[d794630] | 182 | <option>-DENABLE_X11=ON</option>: use an X11 backend instead of GDK3
|
---|
| 183 | (gtk+-3) for basic Xorg graphics.
|
---|
[28370fe] | 184 | </para>
|
---|
| 185 |
|
---|
[43e64a4a] | 186 | </sect2>
|
---|
| 187 |
|
---|
[b9543da] | 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Programs</segtitle>
|
---|
[d794630] | 193 | <segtitle>Installed Library</segtitle>
|
---|
[b9543da] | 194 | <segtitle>Installed Directories</segtitle>
|
---|
| 195 |
|
---|
| 196 | <seglistitem>
|
---|
| 197 | <seg>
|
---|
| 198 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 199 | </seg>
|
---|
| 200 | <seg>
|
---|
[d794630] | 201 | libfontforge.so and
|
---|
| 202 | /usr/lib/python&python3-version;/site-packages/{fontforge,psMat}.so
|
---|
[b9543da] | 203 | </seg>
|
---|
| 204 | <seg>
|
---|
[d794630] | 205 | /usr/share/fontforge and optionally
|
---|
| 206 | /usr/share/doc/fontforge{,-&fontforge-version;}
|
---|
[b9543da] | 207 | </seg>
|
---|
| 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="fontforge-prog">
|
---|
| 217 | <term><command>fontforge</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | is a program that allows you to create and
|
---|
| 221 | modify font files.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="fontforge fontforge-prog">
|
---|
| 224 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="fontimage">
|
---|
| 230 | <term><command>fontimage</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
| 233 | is a program that produces an image showing
|
---|
| 234 | representative glyphs of the font.
|
---|
| 235 | </para>
|
---|
| 236 | <indexterm zone="fontforge fontimage">
|
---|
| 237 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="fontlint">
|
---|
| 243 | <term><command>fontlint</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
| 246 | is a program that checks the font for certain
|
---|
| 247 | common errors.
|
---|
| 248 | </para>
|
---|
| 249 | <indexterm zone="fontforge fontlint">
|
---|
| 250 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="sfddiff">
|
---|
| 256 | <term><command>sfddiff</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>
|
---|
| 259 | is a program that compares two font files.
|
---|
| 260 | </para>
|
---|
| 261 | <indexterm zone="fontforge sfddiff">
|
---|
| 262 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | </variablelist>
|
---|
| 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | </sect1>
|
---|