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