[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 |
|
---|
| 7 | <!ENTITY fontforge-download-http "&sources-anduin-other-http;/fontforge-&fontforge-version;.tar.xz">
|
---|
| 8 | <!ENTITY fontforge-download-ftp " ">
|
---|
| 9 | <!ENTITY fontforge-md5sum "024ebb9dca824154fc19310b675f9d50">
|
---|
| 10 | <!ENTITY fontforge-size "14 MB">
|
---|
| 11 | <!ENTITY fontforge-buildsize "235 MB">
|
---|
| 12 | <!ENTITY fontforge-time "2.2 SBU">
|
---|
| 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 |
|
---|
| 39 | &lfs75_checked;
|
---|
| 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&fontforge-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&fontforge-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &fontforge-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &fontforge-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &fontforge-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &fontforge-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[2bf53d6] | 75 | <para>
|
---|
[aa89d61] | 76 | The <application>FontForge</application> tarball specified above was not
|
---|
| 77 | generated by the <application>FontForge</application> maintainers. It
|
---|
| 78 | was created by the BLFS team by pulling a Git version and then generating
|
---|
| 79 | the autotools components and documentation. The BLFS team made no changes
|
---|
| 80 | to the existing source files.
|
---|
[2bf53d6] | 81 | </para>
|
---|
| 82 |
|
---|
[b9543da] | 83 | <bridgehead renderas="sect3">FontForge Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
| 87 | <xref linkend="cairo"/>,
|
---|
| 88 | <xref linkend="freetype2"/>,
|
---|
| 89 | <xref linkend="libxml2"/> and
|
---|
| 90 | <xref linkend="xorg7-lib"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
| 95 | <xref linkend="giflib"/>,
|
---|
| 96 | <xref linkend="libjpeg"/>,
|
---|
| 97 | <xref linkend="libpng"/>,
|
---|
| 98 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
|
---|
| 99 | <xref linkend="libtiff"/>,
|
---|
| 100 | <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
|
---|
| 101 | libunicodenames</ulink>,
|
---|
| 102 | <ulink url="https://github.com/fontforge/libuninameslist">
|
---|
| 103 | libuninameslist</ulink>,
|
---|
| 104 | <ulink url="http://www.zeromq.org/">libzmq</ulink>,
|
---|
| 105 | <xref linkend="pango"/> and
|
---|
| 106 | <xref linkend="python2"/>
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/fontforge"/>
|
---|
| 111 | </para>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
| 115 | <title>Installation of FontForge</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Fix building with <application>Giflib</application> 5.1.0:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput>sed "/DGifCloseFile/s:gif:&, NULL:g" -i gutils/gimagereadgif.c</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Install <application>FontForge</application> by running the following
|
---|
| 125 | commands:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 129 | --disable-static \
|
---|
| 130 | --docdir=/usr/share/doc/fontforge-&fontforge-version; &&
|
---|
| 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | To test the results, issue: <command>make -k check</command>. Test 32
|
---|
| 135 | fails for unknown reasons.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
| 145 | If desired, install desktop support files as the
|
---|
| 146 | <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
| 149 | <screen role="root"><userinput>rm -rf desktop/icons/src &&
|
---|
| 150 | cp -rf desktop/icons/* /usr/share/icons/hicolor &&
|
---|
| 151 | install -Dm644 desktop/fontforge.desktop /usr/share/applications/fontforge.desktop &&
|
---|
| 152 | install -Dm644 desktop/fontforge.xml /usr/share/mime/packages/fontforge.xml</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="content">
|
---|
| 157 | <title>Contents</title>
|
---|
| 158 |
|
---|
| 159 | <segmentedlist>
|
---|
| 160 | <segtitle>Installed Programs</segtitle>
|
---|
| 161 | <segtitle>Installed Libraries</segtitle>
|
---|
| 162 | <segtitle>Installed Directories</segtitle>
|
---|
| 163 |
|
---|
| 164 | <seglistitem>
|
---|
| 165 | <seg>
|
---|
| 166 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 167 | </seg>
|
---|
| 168 | <seg>
|
---|
| 169 | libfontforgeexe.so, libfontforge.so, libgdraw.so,
|
---|
| 170 | libgioftp.so, libgunicode.so and libgutils.so
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | /usr/include/fontforge,
|
---|
| 174 | /usr/share/doc/fontforge-&fontforge-version; and
|
---|
| 175 | /usr/share/fontforge
|
---|
| 176 | </seg>
|
---|
| 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="fontforge-prog">
|
---|
| 186 | <term><command>fontforge</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
| 189 | is a program that allows you to create and
|
---|
| 190 | modify font files.
|
---|
| 191 | </para>
|
---|
| 192 | <indexterm zone="fontforge fontforge-prog">
|
---|
| 193 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="fontimage">
|
---|
| 199 | <term><command>fontimage</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
| 202 | is a program that produces an image showing
|
---|
| 203 | representative glyphs of the font.
|
---|
| 204 | </para>
|
---|
| 205 | <indexterm zone="fontforge fontimage">
|
---|
| 206 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="fontlint">
|
---|
| 212 | <term><command>fontlint</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
| 215 | is a program that checks the font for certain
|
---|
| 216 | common errors.
|
---|
| 217 | </para>
|
---|
| 218 | <indexterm zone="fontforge fontlint">
|
---|
| 219 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="sfddiff">
|
---|
| 225 | <term><command>sfddiff</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
| 228 | is a program that compares two font files.
|
---|
| 229 | </para>
|
---|
| 230 | <indexterm zone="fontforge sfddiff">
|
---|
| 231 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | </variablelist>
|
---|
| 237 |
|
---|
| 238 | </sect2>
|
---|
| 239 |
|
---|
| 240 | </sect1>
|
---|