1OGONKIFY(1)                 General Commands Manual                OGONKIFY(1)
2
3
4

NAME

6       ogonkify - international support for PostScript
7
8

SYNOPSIS

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

DESCRIPTION

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

SUMMARY USAGE

23       Installation instructions are provided in the file  INSTALL.   Assuming
24       the installation has been correctly completed, save the PostScript out‐
25       put of Netscape or Mosaic to a file,  say  output.ps.   Then  print  it
26       using
27
28              % ogonkify -AT -N output.ps | lpr
29
30       in the case of Netscape, or
31
32              % ogonkify -AT -M output.ps | lpr
33
34       in the case of Mosaic.
35
36       You  may  want  to  change the -AT option to -CT in order to use a high
37       quality Courier font from IBM (at the price of slower printing).
38
39       An alternative way to print from Netscape is to set the  printing  com‐
40       mand in the printing dialog box to:
41
42              ogonkify -AT -N | lpr
43
44       For more details, see the USAGE section below.
45
46

OPTIONS

48       -p     Includes the specified procset in the output file.
49
50
51       -e     Set  the  encoding  of  the  output. Defaults to L2 (ISO 8859-2,
52              a.k.a. ISO Latin-2). Other possible values are L1  (ISO  8859-1,
53              a.k.a.  ISO  Latin-1),  L3  (ISO 8859-3, a.k.a. ISO Latin-3), L4
54              (ISO 8859-4, a.k.a. ISO Latin-4), L5  (ISO  8859-9,  a.k.a.  ISO
55              Latin-5), L6 (ISO 8859-10, a.k.a. ISO Latin-6), L7 (ISO 8859-13,
56              a.k.a. ISO Latin-7),  L9  (ISO  8859-15,  a.k.a.  ISO  Latin-9),
57              CP1250  (Microsoft  Code Page 1250, a.k.a. CeP), ibmpc (Original
58              IBM-PC encoding), mac (Apple  Macintosh  encoding)  and  hp  (HP
59              Roman Encoding).
60
61
62       -r     Use  the font New in place of Old.  Will lead to ugly or unread‐
63              able output when the metrics mismatch.
64
65
66       -a     Do the right font remappings for using Courier-Ogonki  in  place
67              of  Courier (the a stands for Adobe Courier).  This avoids down‐
68              loading any fonts to the printer.
69
70
71       -c     Do the right font remappings for using IBM Courier in  place  of
72              Adobe Courier.
73
74
75       -t     Do  the  right  font  remappings for using Times-Roman-Ogonki in
76              place of Times-Roman.
77
78
79       -h     Do the right font remappings for using Helvetica-Ogonki in place
80              of Helvetica.
81
82
83       -A     Like -a but also downloads the Courier-Ogonki fonts.
84
85
86       -C     Like -c, but also downloads the IBM Courier fonts.
87
88
89       -H     Like -h, but also downloads the Helvetica-xxx-Ogonki fonts.
90
91
92       -T     Like -t, but also downloads the Times-xxx-Ogonki fonts.
93
94
95       -CT    Equivalent to -C -T.
96
97
98       -CTH   Equivalent to -C -T -H.
99
100
101       -E     Add  the  Euro  currency sign to all standard fonts (use with -e
102              L9).
103
104
105       -N     Do Netscape processing.
106
107
108       -M     Do Mosaic processing.
109
110
111       -mp    Do mp processing.  Will not work with  the  -A  option  (use  -C
112              instead).
113
114
115       -SO    Do StarOffice processing.
116
117
118       -AX    Do ApplixWare processing.
119
120
121       -F     Do XFig processing.
122
123
124       -RS    Recode standard fonts.  This is likely to work with applications
125              that leave fonts in  AdobeStandardEncoding,  typically  applica‐
126              tions that do not even support printing even of characters.
127
128
129       --     End options.
130
131
132

USAGE

134       Let us assume that you want to print a WWW page encoded in ISO Latin-2.
135       Netscape stubbornly insists on printing it as ISO Latin-1. By using the
136       File->Print  command, have Netscape send the output to a file, say ala‐
137       makota.ps.
138
139       As ogonkify is configured for ISO Latin-2 by default,  passing  it  the
140       PostScript  generated  by  Netscape  will  correct  the encoding of the
141       fonts. It is enough to do:
142
143              % ogonkify -N <alamakota.ps | lpr
144
145       However, most printers do not have fonts  with  the  needed  characters
146       installed;  synthesized  fonts  will  be downloaded and used instead of
147       Courier and Times-Roman with -AT, and a very good Courier font from IBM
148       will be used with: -CT.  The command will therefore typically be:
149
150              % ogonkify -N -AT <alamakota.ps | lpr
151
152       or eventually
153
154              % ogonkify -N -CT <alamakota.ps | lpr
155
156       Typical usage with other programs is:
157
158              % ogonkify -M -AT <alamakota.ps | lpr
159              % ogonkify -mp -AT <alamakota.ps | lpr
160              % ogonkify -SO -AT <alamakota.ps | lpr
161              % ogonkify -AX -ATH <alamakota.ps | lpr
162              % ogonkify -XF -ATH <alamakota.ps | lpr
163

BUGS

165       Characters  with  an  `ogonek'  should  be constructed differently (for
166       instance, the `ogonek' used with an `a' should  be  differently  shaped
167       than the one used with an `e'.)
168
169       It would be better to patch the programs we have the sources to than to
170       post-process the produced PostScript.
171
172       The program is written in Perl.
173
174

NOTES

176       In order to view the output PostScript with Ghostscript, you might need
177       to  run  gs  with  the  flag -dNOPLATFONTS, and ghostview with the flag
178       -arguments -dNOPLATFONTS.
179
180       Netscape, IBM, Adobe, PostScript, StarOffice, ApplixWare  and  possibly
181       others are registered trademarks.
182
183

THANKS

185       Much  of  the  composite  character  data  have been provided by Primoz
186       Peterlin, H. Turgut Uyar, Ricardas  Cepas,  Kristof  Petrovay  and  Jan
187       Prikryl.
188
189       Jacek  Pliszka  provided  the support for StarOffice.  Andrzej Baginski
190       provided the support for ApplixWare.
191
192       Markku Rossi wrote genscript and provided many useful encoding  vectors
193       with the distribution.
194
195       Throughout  writing  the Postscript code, I used the ghostscript inter‐
196       preter, by Peter Deutsch.
197
198       Larry Wall wrote perl, the syntax and semantics of which  are  a  never
199       ending source of puzzlement.
200
201
202

AUTHOR

204       Juliusz Chroboczek <jec@dcs.ed.ac.uk>, with help from loads of people.
205
206
207
208McKornik Jr.                      14 May 1999                      OGONKIFY(1)
Impressum