[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 |
|
---|
[0f0774a] | 7 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.gz">
|
---|
[b9543da] | 8 | <!ENTITY fontforge-download-ftp " ">
|
---|
[0f0774a] | 9 | <!ENTITY fontforge-md5sum "db98d07cfee624c21d7d6ca37fe0ca14">
|
---|
[c358685] | 10 | <!ENTITY fontforge-size "20 MB">
|
---|
[0f0774a] | 11 | <!ENTITY fontforge-buildsize "243 MB (plus an additional 1 MB for the tests)">
|
---|
| 12 | <!ENTITY fontforge-time "1.7 SBU (plus an additional 0.2 SBU for the tests)">
|
---|
[b9543da] | 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 |
|
---|
[b0af9b8] | 39 | &lfs79_checked;
|
---|
[b9543da] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[00f3d9a] | 42 |
|
---|
[b9543da] | 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>
|
---|
[2bf53d6] | 75 |
|
---|
[b9543da] | 76 | <bridgehead renderas="sect3">FontForge Dependencies</bridgehead>
|
---|
| 77 |
|
---|
[e7af045] | 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
| 80 | <xref linkend="freetype2"/>,
|
---|
| 81 | <xref linkend="glib2"/>, and
|
---|
[bb36f0cd] | 82 | <xref linkend="libxml2"/>
|
---|
[e7af045] | 83 | </para>
|
---|
[633dc24e] | 84 |
|
---|
[b9543da] | 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
| 87 | <xref linkend="cairo"/>,
|
---|
[3e5e86a] | 88 | <xref linkend="gtk2"/>,
|
---|
[e7af045] | 89 | <xref linkend="harfbuzz"/>,
|
---|
[bb36f0cd] | 90 | <xref linkend="pango"/> (required if Xorg libraries are present)
|
---|
| 91 | <xref linkend="desktop-file-utils"/>,
|
---|
| 92 | <xref linkend="shared-mime-info"/>, and
|
---|
[b9543da] | 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"/>,
|
---|
[feb1a649] | 102 | <xref linkend="python2"/>,
|
---|
[bb36f0cd] | 103 | <xref linkend="wget"/> (needed for tests),
|
---|
[1d5aab8] | 104 | <ulink url="http://ipython.org/">IPython</ulink>,
|
---|
[feb1a649] | 105 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
|
---|
[b9543da] | 106 | <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
|
---|
| 107 | libunicodenames</ulink>,
|
---|
| 108 | <ulink url="https://github.com/fontforge/libuninameslist">
|
---|
[feb1a649] | 109 | libuninameslist</ulink>, and
|
---|
[2c65e33e] | 110 | <ulink url="http://www.zeromq.org/">zeromq (libzmq)</ulink>
|
---|
[b9543da] | 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 |
|
---|
[0f0774a] | 121 | <note>
|
---|
| 122 | <para>
|
---|
| 123 | For this version there is a separate and much larger fontforge tarball
|
---|
| 124 | without the -dist- in its name, do not try to use that. The -dist- version
|
---|
| 125 | was created a few minutes later, but the version was typo'd and it will
|
---|
| 126 | untar to fontforge-2.0-20140101.
|
---|
| 127 | </para>
|
---|
| 128 | </note>
|
---|
| 129 |
|
---|
[b9543da] | 130 | <para>
|
---|
| 131 | Install <application>FontForge</application> by running the following
|
---|
| 132 | commands:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
[0f0774a] | 135 | <screen><userinput>sed -i 's/20140101/20160404/g' configure inc/fontforge-config.h \
|
---|
| 136 | tests/package.m4 tests/testsuite
|
---|
[2c65e33e] | 137 | ./configure --prefix=/usr \
|
---|
[3e5e86a] | 138 | --enable-gtk2-use \
|
---|
| 139 | --disable-static \
|
---|
[00f3d9a] | 140 | --docdir=/usr/share/doc/fontforge-&fontforge-version; &&
|
---|
[b9543da] | 141 | make</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
[3e5e86a] | 144 | To test the results, issue: <command>make check</command>.
|
---|
[0f0774a] | 145 | This will download two ttf files.
|
---|
[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 |
|
---|
[0f0774a] | 154 | <!-- seems to be ok now
|
---|
[bbacc9a] | 155 | <note>
|
---|
| 156 | <para>
|
---|
| 157 | <application>Fontforge</application> may need a workaround to start,
|
---|
| 158 | due to a bug in the splash screen. If you wish to start from a
|
---|
| 159 | terminal, either issue <command>fontforge -new</command>, or, after
|
---|
| 160 | issuing <command>fontforge</command>, press Ctrl-C once, after the
|
---|
| 161 | splash screen appears. For the menu, make the following substitution,
|
---|
| 162 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
[4d6b073] | 165 | <screen role="root"><userinput>sed -e '/Exec/ s/fontforge/& -new/' \
|
---|
[bbacc9a] | 166 | -i /usr/share/applications/fontforge.desktop</userinput></screen>
|
---|
[0f0774a] | 167 | </note>-->
|
---|
[bbacc9a] | 168 |
|
---|
[b9543da] | 169 | </sect2>
|
---|
| 170 |
|
---|
[43e64a4a] | 171 | <sect2 role="commands">
|
---|
| 172 | <title>Command Explanations</title>
|
---|
| 173 |
|
---|
[2c65e33e] | 174 | <para>
|
---|
[0f0774a] | 175 | <parameter>sed -i 's/20140101/20160404/g' ...</parameter> : This changes
|
---|
| 176 | the typo'd date, particularly in the pkgconfig files and the log from the
|
---|
| 177 | tests.
|
---|
[2c65e33e] | 178 | </para>
|
---|
| 179 |
|
---|
[e7af045] | 180 | <para>
|
---|
[0f0774a] | 181 | <parameter>--enable-gtk2-use</parameter>: uses the GTK+2 graphics
|
---|
[e7af045] | 182 | instead of basic Xorg graphics.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
| 185 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 186 | href="../../xincludes/static-libraries.xml"/>
|
---|
[43e64a4a] | 187 |
|
---|
[28370fe] | 188 | <para>
|
---|
| 189 | <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
|
---|
| 190 | and FONTFORGE_DEBUG conditional code. Requires
|
---|
| 191 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[43e64a4a] | 194 | </sect2>
|
---|
| 195 |
|
---|
[b9543da] | 196 | <sect2 role="content">
|
---|
| 197 | <title>Contents</title>
|
---|
| 198 |
|
---|
| 199 | <segmentedlist>
|
---|
| 200 | <segtitle>Installed Programs</segtitle>
|
---|
| 201 | <segtitle>Installed Libraries</segtitle>
|
---|
| 202 | <segtitle>Installed Directories</segtitle>
|
---|
| 203 |
|
---|
| 204 | <seglistitem>
|
---|
| 205 | <seg>
|
---|
| 206 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 207 | </seg>
|
---|
| 208 | <seg>
|
---|
| 209 | libfontforgeexe.so, libfontforge.so, libgdraw.so,
|
---|
[00f3d9a] | 210 | libgioftp.so, libgunicode.so, libgutils.so, and
|
---|
| 211 | /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
|
---|
[b9543da] | 212 | </seg>
|
---|
| 213 | <seg>
|
---|
[c358685] | 214 | /usr/{include,share}/fontforge and
|
---|
| 215 | /usr/share/doc/fontforge-&fontforge-version;
|
---|
[b9543da] | 216 | </seg>
|
---|
| 217 | </seglistitem>
|
---|
| 218 | </segmentedlist>
|
---|
| 219 |
|
---|
| 220 | <variablelist>
|
---|
| 221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 222 | <?dbfo list-presentation="list"?>
|
---|
| 223 | <?dbhtml list-presentation="table"?>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="fontforge-prog">
|
---|
| 226 | <term><command>fontforge</command></term>
|
---|
| 227 | <listitem>
|
---|
| 228 | <para>
|
---|
| 229 | is a program that allows you to create and
|
---|
| 230 | modify font files.
|
---|
| 231 | </para>
|
---|
| 232 | <indexterm zone="fontforge fontforge-prog">
|
---|
| 233 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="fontimage">
|
---|
| 239 | <term><command>fontimage</command></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>
|
---|
| 242 | is a program that produces an image showing
|
---|
| 243 | representative glyphs of the font.
|
---|
| 244 | </para>
|
---|
| 245 | <indexterm zone="fontforge fontimage">
|
---|
| 246 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="fontlint">
|
---|
| 252 | <term><command>fontlint</command></term>
|
---|
| 253 | <listitem>
|
---|
| 254 | <para>
|
---|
| 255 | is a program that checks the font for certain
|
---|
| 256 | common errors.
|
---|
| 257 | </para>
|
---|
| 258 | <indexterm zone="fontforge fontlint">
|
---|
| 259 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="sfddiff">
|
---|
| 265 | <term><command>sfddiff</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
| 268 | is a program that compares two font files.
|
---|
| 269 | </para>
|
---|
| 270 | <indexterm zone="fontforge sfddiff">
|
---|
| 271 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | </variablelist>
|
---|
| 277 |
|
---|
| 278 | </sect2>
|
---|
| 279 |
|
---|
| 280 | </sect1>
|
---|