[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 " ">
|
---|
[6746ab16] | 13 | <!ENTITY fontforge-md5sum "efc0b3c79ba576133de70d67ccadcf24">
|
---|
[75d969ad] | 14 | <!ENTITY fontforge-size "14 MB">
|
---|
[6746ab16] | 15 | <!ENTITY fontforge-buildsize "167 MB (add 52 MB for the tests)">
|
---|
[55a63862] | 16 | <!ENTITY fontforge-time "0.2 SBU (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 | <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 |
|
---|
[5e5d8c4] | 42 | &lfs110a_checked;
|
---|
[b9543da] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[00f3d9a] | 45 |
|
---|
[b9543da] | 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>
|
---|
[2bf53d6] | 78 |
|
---|
[b9543da] | 79 | <bridgehead renderas="sect3">FontForge Dependencies</bridgehead>
|
---|
| 80 |
|
---|
[e7af045] | 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 82 | <para role="required">
|
---|
[d794630] | 83 | <xref linkend="libspiro"/>,
|
---|
| 84 | <xref linkend="libuninameslist"/>, and
|
---|
[bb36f0cd] | 85 | <xref linkend="libxml2"/>
|
---|
[e7af045] | 86 | </para>
|
---|
[633dc24e] | 87 |
|
---|
[b9543da] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
[d794630] | 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"/>
|
---|
[b9543da] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
[d794630] | 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 | -->
|
---|
[b9543da] | 114 | <xref linkend="giflib"/>,
|
---|
[d794630] | 115 | <xref linkend="git"/>,
|
---|
[b9543da] | 116 | <xref linkend="libjpeg"/>,
|
---|
| 117 | <xref linkend="libtiff"/>,
|
---|
[d794630] | 118 | <xref linkend="woff2"/>, and
|
---|
| 119 | <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
|
---|
| 120 | (to build html documentation)
|
---|
[b9543da] | 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 |
|
---|
[d794630] | 135 | <screen><userinput>mkdir build &&
|
---|
| 136 | cd build &&
|
---|
| 137 |
|
---|
| 138 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 139 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 140 | -Wno-dev .. &&
|
---|
[b9543da] | 141 | make</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
[3e5e86a] | 144 | To test the results, issue: <command>make check</command>.
|
---|
[b9543da] | 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 |
|
---|
[d794630] | 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 |
|
---|
[b9543da] | 165 | </sect2>
|
---|
| 166 |
|
---|
[43e64a4a] | 167 | <sect2 role="commands">
|
---|
| 168 | <title>Command Explanations</title>
|
---|
| 169 |
|
---|
[e7af045] | 170 | <para>
|
---|
[d794630] | 171 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
| 172 | create an optimized release without debug information.
|
---|
[e7af045] | 173 | </para>
|
---|
| 174 |
|
---|
[d794630] | 175 | <para>
|
---|
| 176 | <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
|
---|
| 177 | intended for the package's developers.
|
---|
| 178 | </para>
|
---|
[43e64a4a] | 179 |
|
---|
[28370fe] | 180 | <para>
|
---|
[d794630] | 181 | <option>-DENABLE_X11=ON</option>: use an X11 backend instead of GDK3
|
---|
| 182 | (gtk+-3) for basic Xorg graphics.
|
---|
[28370fe] | 183 | </para>
|
---|
| 184 |
|
---|
[43e64a4a] | 185 | </sect2>
|
---|
| 186 |
|
---|
[b9543da] | 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
| 191 | <segtitle>Installed Programs</segtitle>
|
---|
[d794630] | 192 | <segtitle>Installed Library</segtitle>
|
---|
[b9543da] | 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
| 196 | <seg>
|
---|
| 197 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 198 | </seg>
|
---|
| 199 | <seg>
|
---|
[d794630] | 200 | libfontforge.so and
|
---|
| 201 | /usr/lib/python&python3-version;/site-packages/{fontforge,psMat}.so
|
---|
[b9543da] | 202 | </seg>
|
---|
| 203 | <seg>
|
---|
[d794630] | 204 | /usr/share/fontforge and optionally
|
---|
| 205 | /usr/share/doc/fontforge{,-&fontforge-version;}
|
---|
[b9543da] | 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
|
---|
[4c24eb0a] | 220 | modify font files
|
---|
[b9543da] | 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
|
---|
[4c24eb0a] | 233 | representative glyphs of the font
|
---|
[b9543da] | 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
|
---|
[4c24eb0a] | 246 | common errors
|
---|
[b9543da] | 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>
|
---|
[4c24eb0a] | 258 | is a program that compares two font files
|
---|
[b9543da] | 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>
|
---|