[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 |
|
---|
[e7af045] | 7 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-&fontforge-version;.tar.gz">
|
---|
[b9543da] | 8 | <!ENTITY fontforge-download-ftp " ">
|
---|
[c358685] | 9 | <!ENTITY fontforge-md5sum "74c49c73822d642b0511718d8eeb2210">
|
---|
| 10 | <!ENTITY fontforge-size "20 MB">
|
---|
| 11 | <!ENTITY fontforge-buildsize "243 MB (without tests)">
|
---|
| 12 | <!ENTITY fontforge-time "1.5 SBU (without 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 |
|
---|
[7fab6275] | 39 | &lfs78_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
|
---|
| 82 | <xref linkend="libxml2"/>
|
---|
| 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"/>,
|
---|
| 90 | <xref linkend="pango"/> (required if Xorg libraries are present), and
|
---|
[b9543da] | 91 | <xref linkend="xorg7-lib"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 95 | <para role="optional">
|
---|
| 96 | <xref linkend="giflib"/>,
|
---|
| 97 | <xref linkend="libjpeg"/>,
|
---|
| 98 | <xref linkend="libpng"/>,
|
---|
| 99 | <xref linkend="libtiff"/>,
|
---|
[feb1a649] | 100 | <xref linkend="python2"/>,
|
---|
[1d5aab8] | 101 | <ulink url="http://ipython.org/">IPython</ulink>,
|
---|
[feb1a649] | 102 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
|
---|
[b9543da] | 103 | <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
|
---|
| 104 | libunicodenames</ulink>,
|
---|
| 105 | <ulink url="https://github.com/fontforge/libuninameslist">
|
---|
[feb1a649] | 106 | libuninameslist</ulink>, and
|
---|
[1d5aab8] | 107 | <ulink url="http://www.zeromq.org/">zeromq (libzmq)</ulink>,
|
---|
[b9543da] | 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para condition="html" role="usernotes">
|
---|
| 111 | User Notes: <ulink url="&blfs-wiki;/fontforge"/>
|
---|
| 112 | </para>
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Installation of FontForge</title>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Install <application>FontForge</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
[bbacc9a] | 123 | <screen><userinput>./configure --prefix=/usr \
|
---|
[3e5e86a] | 124 | --enable-gtk2-use \
|
---|
| 125 | --disable-static \
|
---|
[00f3d9a] | 126 | --docdir=/usr/share/doc/fontforge-&fontforge-version; &&
|
---|
[b9543da] | 127 | make</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
[3e5e86a] | 130 | To test the results, issue: <command>make check</command>.
|
---|
[b9543da] | 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
[bbacc9a] | 139 | <note>
|
---|
| 140 | <para>
|
---|
| 141 | <application>Fontforge</application> may need a workaround to start,
|
---|
| 142 | due to a bug in the splash screen. If you wish to start from a
|
---|
| 143 | terminal, either issue <command>fontforge -new</command>, or, after
|
---|
| 144 | issuing <command>fontforge</command>, press Ctrl-C once, after the
|
---|
| 145 | splash screen appears. For the menu, make the following substitution,
|
---|
| 146 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
| 149 | <screen><userinput>sed -e '/Exec/ s/fontforge/& -new/' \
|
---|
| 150 | -i /usr/share/applications/fontforge.desktop</userinput></screen>
|
---|
| 151 | </note>
|
---|
| 152 |
|
---|
[b9543da] | 153 | </sect2>
|
---|
| 154 |
|
---|
[43e64a4a] | 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
[e7af045] | 158 | <para>
|
---|
| 159 | <parameter>--enable-gtk2-use</parameter>: allows to use the GTK+2 graphics
|
---|
| 160 | instead of basic Xorg graphics.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 164 | href="../../xincludes/static-libraries.xml"/>
|
---|
[43e64a4a] | 165 |
|
---|
[28370fe] | 166 | <para>
|
---|
| 167 | <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
|
---|
| 168 | and FONTFORGE_DEBUG conditional code. Requires
|
---|
| 169 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
[43e64a4a] | 172 | </sect2>
|
---|
| 173 |
|
---|
[b9543da] | 174 | <sect2 role="content">
|
---|
| 175 | <title>Contents</title>
|
---|
| 176 |
|
---|
| 177 | <segmentedlist>
|
---|
| 178 | <segtitle>Installed Programs</segtitle>
|
---|
| 179 | <segtitle>Installed Libraries</segtitle>
|
---|
| 180 | <segtitle>Installed Directories</segtitle>
|
---|
| 181 |
|
---|
| 182 | <seglistitem>
|
---|
| 183 | <seg>
|
---|
| 184 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | libfontforgeexe.so, libfontforge.so, libgdraw.so,
|
---|
[00f3d9a] | 188 | libgioftp.so, libgunicode.so, libgutils.so, and
|
---|
| 189 | /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
|
---|
[b9543da] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[c358685] | 192 | /usr/{include,share}/fontforge and
|
---|
| 193 | /usr/share/doc/fontforge-&fontforge-version;
|
---|
[b9543da] | 194 | </seg>
|
---|
| 195 | </seglistitem>
|
---|
| 196 | </segmentedlist>
|
---|
| 197 |
|
---|
| 198 | <variablelist>
|
---|
| 199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 200 | <?dbfo list-presentation="list"?>
|
---|
| 201 | <?dbhtml list-presentation="table"?>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="fontforge-prog">
|
---|
| 204 | <term><command>fontforge</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>
|
---|
| 207 | is a program that allows you to create and
|
---|
| 208 | modify font files.
|
---|
| 209 | </para>
|
---|
| 210 | <indexterm zone="fontforge fontforge-prog">
|
---|
| 211 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="fontimage">
|
---|
| 217 | <term><command>fontimage</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | is a program that produces an image showing
|
---|
| 221 | representative glyphs of the font.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="fontforge fontimage">
|
---|
| 224 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="fontlint">
|
---|
| 230 | <term><command>fontlint</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
| 233 | is a program that checks the font for certain
|
---|
| 234 | common errors.
|
---|
| 235 | </para>
|
---|
| 236 | <indexterm zone="fontforge fontlint">
|
---|
| 237 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="sfddiff">
|
---|
| 243 | <term><command>sfddiff</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
| 246 | is a program that compares two font files.
|
---|
| 247 | </para>
|
---|
| 248 | <indexterm zone="fontforge sfddiff">
|
---|
| 249 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | </variablelist>
|
---|
| 255 |
|
---|
| 256 | </sect2>
|
---|
| 257 |
|
---|
| 258 | </sect1>
|
---|