<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY paps-download-http "&sourceforge-repo;/paps/paps-&paps-version;.tar.gz">
  <!ENTITY paps-download-ftp  " ">
  <!ENTITY paps-md5sum        "e9508132bf27609bf2fded2bfd9cb3f1">
  <!ENTITY paps-size          "460 KB">
  <!ENTITY paps-buildsize     "3 MB">
  <!ENTITY paps-time          "less than 0.1 SBU">
]>

<sect1 id="paps" xreflabel="paps-&paps-version;">
  <?dbhtml filename="paps.html"?>

  <sect1info>
    <othername>$LastChangedBy: ken $</othername>
    <date>$Date: 2015-03-01 17:14:32 -0500 (Sun, 01 Mar 2015) $</date>
  </sect1info>

  <title>paps-&paps-version;</title>

  <indexterm zone="paps">
    <primary sortas="a-paps">paps</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to paps</title>

    <para><application>paps</application> is a text to PostScript converter
    that works through <application>Pango</application>. Its input is a UTF-8
    encoded text file and it outputs vectorized PostScript. It may be used for
    printing any complex script supported by <application>Pango</application>.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&paps-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&paps-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &paps-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &paps-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &paps-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &paps-time;</para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Required patch:
          <ulink url="&patch-root;/paps-&paps-version;-freetype_fix-1.patch"/>
        </para>
      </listitem>
    </itemizedlist>

<!--
      <listitem>
        <para>DejaVu fonts for European languages:
           <ulink url="http://dejavu.sourceforge.net"/></para>
      </listitem>
      <listitem>
        <para>Arphic fonts for Chinese:
            <ulink url="http://cle.linux.org.tw/fonts/Arphic"/></para>
      </listitem>
      <listitem>
        <para>Kochi fonts for Japanese:
            <ulink url="http://sourceforge.jp/projects/efont"/></para>
      </listitem>
    </itemizedlist>
-->

    <bridgehead renderas="sect3">paps Dependencies</bridgehead>
    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required"><xref linkend="pango"/></para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional"><xref linkend="doxygen"/></para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/Paps"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of paps</title>

    <para>Install <application>paps</application> by running the following
    commands:</para>

<screen><userinput>patch -Np1 -i ../paps-&paps-version;-freetype_fix-1.patch &amp;&amp;
./configure --prefix=/usr --mandir=/usr/share/man &amp;&amp;
make</userinput></screen>

    <para>To test the results, issue: <command>src/test_libpaps &gt;
    test.ps</command>.  View the output file in any available PostScript viewer
    and visually compare it to
    <filename>doxygen-doc/html/example-output.png</filename> in the source tree.
    The results of the output will be more robust with DejaVu, Arphic, and
    Kochi fonts installed as explained in the <xref
    linkend="xft-font-protocol"/> Section of the X Window System
    configuration.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d                 /usr/share/doc/paps-&paps-version; &amp;&amp;
install -v -m644 doxygen-doc/html/* /usr/share/doc/paps-&paps-version;</userinput></screen>

  </sect2>

  <!-- <sect2 role="commands">
    <title>Command Explanations</title>

    <para><command>make DOXYGEN=true; make DOXYGEN=true -k install</command>:
    Use these commands if <application>Doxygen</application> is not installed.
    Documentation will not be installed.</para>

  </sect2> -->

  <!--
  <sect2 role="configuration">
    <title>Configuring paps</title>

    <sect3 id="paps-config">
      <title>Config Files</title>

    </sect3>

    <sect3>
      <title>Configuration Information</title>

    </sect3>

  </sect2>
  -->

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directory</segtitle>

      <seglistitem>
        <seg>paps</seg>
        <seg>libpaps.a</seg>
        <seg>/usr/share/doc/paps-&paps-version;</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="paps-prog">
        <term><command>paps</command></term>
        <listitem>
          <para>is a text to PostScript converter that supports UTF-8
          character encoding.</para>
          <indexterm zone="paps paps-prog">
            <primary sortas="b-paps">paps</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
