[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 |
|
---|
[f6cbe88] | 7 | <!-- Note: Be careful with url. The 20161005 is one day greater than
|
---|
| 8 | the version. -->
|
---|
| 9 |
|
---|
[75d969ad] | 10 | <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.xz">
|
---|
[b9543da] | 11 | <!ENTITY fontforge-download-ftp " ">
|
---|
[75d969ad] | 12 | <!ENTITY fontforge-md5sum "8a717035915ab4cd78b89b0942dfa1fc">
|
---|
| 13 | <!ENTITY fontforge-size "14 MB">
|
---|
| 14 | <!ENTITY fontforge-buildsize "247 MB (with tests)">
|
---|
| 15 | <!ENTITY fontforge-time "2.2 SBU (with tests)">
|
---|
[b9543da] | 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="fontforge" xreflabel="FontForge-&fontforge-version;">
|
---|
| 19 | <?dbhtml filename="fontforge.html"?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 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 |
|
---|
[40420820] | 42 | &lfs82_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">
|
---|
| 83 | <xref linkend="freetype2"/>,
|
---|
| 84 | <xref linkend="glib2"/>, and
|
---|
[bb36f0cd] | 85 | <xref linkend="libxml2"/>
|
---|
[e7af045] | 86 | </para>
|
---|
[633dc24e] | 87 |
|
---|
[b9543da] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="cairo"/>,
|
---|
[3e5e86a] | 91 | <xref linkend="gtk2"/>,
|
---|
[e7af045] | 92 | <xref linkend="harfbuzz"/>,
|
---|
[bb36f0cd] | 93 | <xref linkend="pango"/> (required if Xorg libraries are present)
|
---|
| 94 | <xref linkend="desktop-file-utils"/>,
|
---|
| 95 | <xref linkend="shared-mime-info"/>, and
|
---|
[b9543da] | 96 | <xref linkend="xorg7-lib"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <xref linkend="giflib"/>,
|
---|
| 102 | <xref linkend="libjpeg"/>,
|
---|
| 103 | <xref linkend="libpng"/>,
|
---|
| 104 | <xref linkend="libtiff"/>,
|
---|
[feb1a649] | 105 | <xref linkend="python2"/>,
|
---|
[bb36f0cd] | 106 | <xref linkend="wget"/> (needed for tests),
|
---|
[1d5aab8] | 107 | <ulink url="http://ipython.org/">IPython</ulink>,
|
---|
[feb1a649] | 108 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
|
---|
[b9543da] | 109 | <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
|
---|
| 110 | libunicodenames</ulink>,
|
---|
| 111 | <ulink url="https://github.com/fontforge/libuninameslist">
|
---|
[feb1a649] | 112 | libuninameslist</ulink>, and
|
---|
[2c65e33e] | 113 | <ulink url="http://www.zeromq.org/">zeromq (libzmq)</ulink>
|
---|
[b9543da] | 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para condition="html" role="usernotes">
|
---|
| 117 | User Notes: <ulink url="&blfs-wiki;/fontforge"/>
|
---|
| 118 | </para>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of FontForge</title>
|
---|
[f6cbe88] | 123 | <!--
|
---|
[0f0774a] | 124 | <note>
|
---|
| 125 | <para>
|
---|
| 126 | For this version there is a separate and much larger fontforge tarball
|
---|
| 127 | without the -dist- in its name, do not try to use that. The -dist- version
|
---|
| 128 | was created a few minutes later, but the version was typo'd and it will
|
---|
| 129 | untar to fontforge-2.0-20140101.
|
---|
| 130 | </para>
|
---|
| 131 | </note>
|
---|
[f6cbe88] | 132 | -->
|
---|
[b9543da] | 133 | <para>
|
---|
| 134 | Install <application>FontForge</application> by running the following
|
---|
| 135 | commands:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[f6cbe88] | 138 | <screen><userinput>./configure --prefix=/usr \
|
---|
[3e5e86a] | 139 | --enable-gtk2-use \
|
---|
| 140 | --disable-static \
|
---|
[00f3d9a] | 141 | --docdir=/usr/share/doc/fontforge-&fontforge-version; &&
|
---|
[b9543da] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
[75d969ad] | 145 | <!-- 20170731 : MunhwaGothic-Bold (postscript) and NotoSans-Regular.ttc
|
---|
| 146 | are shipped in the tarball, but mingliu.ttc still needs to be downloaded -->
|
---|
[3e5e86a] | 147 | To test the results, issue: <command>make check</command>.
|
---|
[75d969ad] | 148 | This will download one font file.
|
---|
[b9543da] | 149 | </para>
|
---|
| 150 |
|
---|
| 151 | <para>
|
---|
| 152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
[43e64a4a] | 159 | <sect2 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
[e7af045] | 162 | <para>
|
---|
[0f0774a] | 163 | <parameter>--enable-gtk2-use</parameter>: uses the GTK+2 graphics
|
---|
[e7af045] | 164 | instead of basic Xorg graphics.
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 168 | href="../../xincludes/static-libraries.xml"/>
|
---|
[43e64a4a] | 169 |
|
---|
[28370fe] | 170 | <para>
|
---|
| 171 | <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
|
---|
| 172 | and FONTFORGE_DEBUG conditional code. Requires
|
---|
| 173 | <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
[43e64a4a] | 176 | </sect2>
|
---|
| 177 |
|
---|
[b9543da] | 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directories</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
| 187 | <seg>
|
---|
| 188 | fontforge, fontimage, fontlint and sfddiff
|
---|
| 189 | </seg>
|
---|
| 190 | <seg>
|
---|
| 191 | libfontforgeexe.so, libfontforge.so, libgdraw.so,
|
---|
[00f3d9a] | 192 | libgioftp.so, libgunicode.so, libgutils.so, and
|
---|
| 193 | /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
|
---|
[b9543da] | 194 | </seg>
|
---|
| 195 | <seg>
|
---|
[c358685] | 196 | /usr/{include,share}/fontforge and
|
---|
| 197 | /usr/share/doc/fontforge-&fontforge-version;
|
---|
[b9543da] | 198 | </seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="fontforge-prog">
|
---|
| 208 | <term><command>fontforge</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | is a program that allows you to create and
|
---|
| 212 | modify font files.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="fontforge fontforge-prog">
|
---|
| 215 | <primary sortas="b-fontforge">fontforge</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="fontimage">
|
---|
| 221 | <term><command>fontimage</command></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
| 224 | is a program that produces an image showing
|
---|
| 225 | representative glyphs of the font.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="fontforge fontimage">
|
---|
| 228 | <primary sortas="b-fontimage">fontimage</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="fontlint">
|
---|
| 234 | <term><command>fontlint</command></term>
|
---|
| 235 | <listitem>
|
---|
| 236 | <para>
|
---|
| 237 | is a program that checks the font for certain
|
---|
| 238 | common errors.
|
---|
| 239 | </para>
|
---|
| 240 | <indexterm zone="fontforge fontlint">
|
---|
| 241 | <primary sortas="b-fontlint">fontlint</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
| 246 | <varlistentry id="sfddiff">
|
---|
| 247 | <term><command>sfddiff</command></term>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
| 250 | is a program that compares two font files.
|
---|
| 251 | </para>
|
---|
| 252 | <indexterm zone="fontforge sfddiff">
|
---|
| 253 | <primary sortas="b-sfddiff">sfddiff</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
| 258 | </variablelist>
|
---|
| 259 |
|
---|
| 260 | </sect2>
|
---|
| 261 |
|
---|
| 262 | </sect1>
|
---|