a2ps/a2ps-4.14-ogonkify.patch

111 lines
3.5 KiB
Diff

diff -rupN a2ps-4.14.old/ogonkify/compose.ps a2ps-4.14/ogonkify/compose.ps
--- a2ps-4.14.old/ogonkify/compose.ps 2007-12-28 18:09:17.000000000 -0800
+++ a2ps-4.14/ogonkify/compose.ps 2014-08-06 19:39:41.746447491 -0700
@@ -3,7 +3,7 @@
% By J. Chroboczek <jec@dcs.ed.ac.uk>
%
% -- code follows this line --
-%%BeginResource: procset compose 0.8 0
+%%BeginResource: procset compose 0.8 1
% Copyright (c) 1996-1999 by J. Chroboczek
% This code may be distributed under the terms of the
% GNU Public License, either version 3 of the license, or (at your
@@ -153,7 +153,8 @@ makeCompositeDict begin
{} forall pop pop [ 5 1 roll 0 0] makefont setfont % newnamedict
0 0 moveto
(5) stringwidth pop % newname dict w
- (M) false charpath pathbbox 4 1 roll pop pop pop % newnamedict w h
+ (M) false charpath pathbbox newpath 4 1 roll pop pop pop
+ % newnamedict w h
3 2 roll % newname w h dict
dup length dict dup 3 1 roll begin % newname w h newdict
diff -rupN a2ps-4.14.old/ogonkify/doc/ogonkify.1 a2ps-4.14/ogonkify/doc/ogonkify.1
--- a2ps-4.14.old/ogonkify/doc/ogonkify.1 2007-02-13 08:14:07.000000000 -0800
+++ a2ps-4.14/ogonkify/doc/ogonkify.1 2014-08-06 19:44:31.584847546 -0700
@@ -1,6 +1,6 @@
.TH OGONKIFY 1 "14 May 1999" "McKornik Jr."
-.\" Time-stamp: <99/05/21 14:43:47 jec>
+.\" Time-stamp: <14/08/06 19:40:00 swd>
.SH NAME
ogonkify \- international support for PostScript
@@ -262,7 +262,8 @@ or eventually
.IP
% ogonkify \-N \-CT <alamakota.ps | lpr
.LP
-Typical usage with other programs is:
+Typical usage with other programs, in the case of the Latin-2
+encoding is:
.IP
.nf
% ogonkify \-M \-AT <alamakota.ps | lpr
@@ -272,6 +273,19 @@ Typical usage with other programs is:
% ogonkify \-XF \-ATH <alamakota.ps | lpr
.fi
.LP
+For the Latin-5 encoding, it would be similar:
+.IP
+.nf
+% ogonkify \-N -AT -eL5 <alamakota.ps | lpr
+.fi
+.LP
+while for the Latin-9 (Latin-0) encoding it would typically be
+.IP
+.nf
+% ogonkify \-N \-E \-eL9 <alamkota.ps | lpr
+.fi
+.LP
+
.SH BUGS
Characters with an `ogonek' should be constructed differently (for
diff -rupN a2ps-4.14.old/ogonkify/ogonkify.in.in a2ps-4.14/ogonkify/ogonkify.in.in
--- a2ps-4.14.old/ogonkify/ogonkify.in.in 2007-12-28 18:05:05.000000000 -0800
+++ a2ps-4.14/ogonkify/ogonkify.in.in 2014-08-06 19:59:53.821986881 -0700
@@ -13,7 +13,7 @@
# Warning: this program is written in Perl
$PROGNAME='ogonkify';
-$VERSION='v. 0.7.0 by J. Chroboczek';
+$VERSION='v. 0.7.1 by J. Chroboczek';
# Directory with the IBM Courier fonts
$IBMFONTS="@IBMFONTS@";
@@ -237,6 +237,9 @@ if(!$encodings{$encoding}) {
$where=0;
while(<>) {
if($where==0) {
+ if($doNetscape && /^%%Title:/) {
+ $_="%%Title: \n";
+ }
print;
if(($doMosaic || $doMp) && /^%%EndComments/) {
$_="%%BeginProlog\n";
@@ -252,14 +255,14 @@ while(<>) {
for(@procsets) {
&procset($_);
}
- for(@downloadFonts) {
- &downloadFont($_);
- }
if($eurify) {
for(@standardFont) {
&eurifyFont($_);
}
}
+ for(@downloadFonts) {
+ &downloadFont($_);
+ }
while(($from,$to)=each %remappings) {
&remap($from,$to);
}
diff -rupN a2ps-4.14.old/ogonkify/VERSION a2ps-4.14/ogonkify/VERSION
--- a2ps-4.14.old/ogonkify/VERSION 2002-03-04 10:46:26.000000000 -0800
+++ a2ps-4.14/ogonkify/VERSION 2014-08-06 19:37:39.440166595 -0700
@@ -1,2 +1,2 @@
This is the version of `ogonkify' distributed as of
-Fri May 21 14:56:35 BST 1999
+Wed Aug 6 19:37:00 PST 2014