ogonkify - international support for PostScript


   ogonkify  [-p  procset]  [-e encoding] [-r Old=New] [-a] [-c] [-h] [-t]
   [-A] [-C] [-H] [-T] [-AT] [-CT] [-ATH]  [-CTH]  [-E]  [-N]  [-M]  [-mp]
   [-SO] [-AX] [-F] [-RS] [--] file ...


   ogonkify  does  various munging of PostScript files related to printing
   in different languages.  Its main  use  is  to  filter  the  output  of
   Netscape, Mosaic and other programs in order to print in languages that
   don't use the standard Western-European encoding (ISO 8859-1).


   Installation instructions are provided in the file  INSTALL.   Assuming
   the  installation  has  been  correctly  completed, save the PostScript
   output of Netscape or Mosaic to a file, say output.ps.  Then  print  it

          % ogonkify -AT -N output.ps | lpr

   in the case of Netscape, or

          % ogonkify -AT -M output.ps | lpr

   in the case of Mosaic.

   You  may  want  to  change the -AT option to -CT in order to use a high
   quality Courier font from IBM (at the price of slower printing).

   An alternative way to print  from  Netscape  is  to  set  the  printing
   command in the printing dialog box to:

          ogonkify -AT -N | lpr

   For more details, see the USAGE section below.


   -p     Includes the specified procset in the output file.

   -e     Set  the  encoding  of  the  output. Defaults to L2 (ISO 8859-2,
          a.k.a. ISO Latin-2). Other possible values are L1  (ISO  8859-1,
          a.k.a.  ISO  Latin-1),  L3  (ISO 8859-3, a.k.a. ISO Latin-3), L4
          (ISO 8859-4, a.k.a. ISO Latin-4), L5  (ISO  8859-9,  a.k.a.  ISO
          Latin-5), L6 (ISO 8859-10, a.k.a. ISO Latin-6), L7 (ISO 8859-13,
          a.k.a. ISO Latin-7),  L9  (ISO  8859-15,  a.k.a.  ISO  Latin-9),
          CP1250  (Microsoft  Code Page 1250, a.k.a. CeP), ibmpc (Original
          IBM-PC encoding), mac (Apple  Macintosh  encoding)  and  hp  (HP
          Roman Encoding).

   -r     Use  the  font  New  in  place  of  Old.   Will  lead to ugly or
          unreadable output when the metrics mismatch.

   -a     Do the right font remappings for using Courier-Ogonki  in  place
          of  Courier  (the  a  stands  for  Adobe  Courier).  This avoids
          downloading any fonts to the printer.

   -c     Do the right font remappings for using IBM Courier in  place  of
          Adobe Courier.

   -t     Do  the  right  font  remappings for using Times-Roman-Ogonki in
          place of Times-Roman.

   -h     Do the right font remappings for using Helvetica-Ogonki in place
          of Helvetica.

   -A     Like -a but also downloads the Courier-Ogonki fonts.

   -C     Like -c, but also downloads the IBM Courier fonts.

   -H     Like -h, but also downloads the Helvetica-xxx-Ogonki fonts.

   -T     Like -t, but also downloads the Times-xxx-Ogonki fonts.

   -CT    Equivalent to -C -T.

   -CTH   Equivalent to -C -T -H.

   -E     Add  the  Euro  currency sign to all standard fonts (use with -e

   -N     Do Netscape processing.

   -M     Do Mosaic processing.

   -mp    Do mp processing.  Will not work with  the  -A  option  (use  -C

   -SO    Do StarOffice processing.

   -AX    Do ApplixWare processing.

   -F     Do XFig processing.

   -RS    Recode standard fonts.  This is likely to work with applications
          that   leave   fonts   in    AdobeStandardEncoding,    typically
          applications   that   do  not  even  support  printing  even  of

   --     End options.


   Let us assume that you want to print a WWW page encoded in ISO Latin-2.
   Netscape stubbornly insists on printing it as ISO Latin-1. By using the
   File->Print command, have Netscape send  the  output  to  a  file,  say

   As  ogonkify  is  configured for ISO Latin-2 by default, passing it the
   PostScript generated by Netscape  will  correct  the  encoding  of  the
   fonts. It is enough to do:

          % ogonkify -N <alamakota.ps | lpr

   However,  most  printers  do  not have fonts with the needed characters
   installed; synthesized fonts will be downloaded  and  used  instead  of
   Courier and Times-Roman with -AT, and a very good Courier font from IBM
   will be used with: -CT.  The command will therefore typically be:

          % ogonkify -N -AT <alamakota.ps | lpr

   or eventually

          % ogonkify -N -CT <alamakota.ps | lpr

   Typical usage with other programs is:

          % ogonkify -M -AT <alamakota.ps | lpr
          % ogonkify -mp -AT <alamakota.ps | lpr
          % ogonkify -SO -AT <alamakota.ps | lpr
          % ogonkify -AX -ATH <alamakota.ps | lpr
          % ogonkify -XF -ATH <alamakota.ps | lpr


   Characters with an `ogonek'  should  be  constructed  differently  (for
   instance,  the  `ogonek'  used with an `a' should be differently shaped
   than the one used with an `e'.)

   It would be better to patch the programs we have the sources to than to
   post-process the produced PostScript.

   The program is written in Perl.


   In order to view the output PostScript with Ghostscript, you might need
   to run gs with the flag -dNOPLATFONTS,  and  ghostview  with  the  flag
   -arguments -dNOPLATFONTS.

   Netscape,  IBM,  Adobe, PostScript, StarOffice, ApplixWare and possibly
   others are registered trademarks.


   Much of the composite character  data  have  been  provided  by  Primoz
   Peterlin,  H.  Turgut  Uyar,  Ricardas  Cepas, Kristof Petrovay and Jan

   Jacek Pliszka provided the support for  StarOffice.   Andrzej  Baginski
   provided the support for ApplixWare.

   Markku  Rossi wrote genscript and provided many useful encoding vectors
   with the distribution.

   Throughout  writing  the  Postscript  code,  I  used  the   ghostscript
   interpreter, by Peter Deutsch.

   Larry  Wall  wrote  perl, the syntax and semantics of which are a never
   ending source of puzzlement.


   Juliusz Chroboczek <jec@dcs.ed.ac.uk>, with help from loads of people.


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.