SHA256
1
0
forked from pool/a2ps
OBS User unknown 2008-07-15 19:14:13 +00:00 committed by Git OBS Bridge
parent 31d1dfdb70
commit 9c8dd66338
5 changed files with 291 additions and 241 deletions

150
a2ps-4.13-utf8.patch Normal file
View File

@ -0,0 +1,150 @@
--- etc/a2ps_cfg.in
+++ etc/a2ps_cfg.in 2008-07-15 14:12:03.044199079 +0200
@@ -266,6 +266,9 @@ $3p<-$3p> $4l# lines\n||
# rm is done by a2ps itself. No need to quote.
#
+########## UTF-8 filter for patched a2ps only
+Delegation: utf8 utf8:plain iconv -c -f UTF-8 -t $x
+
########## Compressed files
# A compressed file should be decompressed and processed by a2ps
# A consequence is that the decompressed file may be delegated.
--- sheets/sheets.map
+++ sheets/sheets.map 2008-07-15 17:24:53.922318567 +0200
@@ -144,6 +144,9 @@ gmake: /GNUmakefile/ /*\/GNUmakefile/
plain: /*.doc/
/*.txt/
+# UTF-8 type for patched a2ps only
+utf8: <UTF-8 Unicode text*>
+
# Ada files
ada: /*.ad[abs]/
--- src/buffer.c
+++ src/buffer.c 2008-07-15 17:11:53.197276387 +0200
@@ -193,9 +193,24 @@ buffer_release (buffer_t * buffer)
{
/* VALUE is malloc'd only if BUFFER->LOWER_CASE */
if (buffer->lower_case)
- free (buffer->value);
+ {
+ free (buffer->value);
+ buffer->value = NULL;
+ buffer->allocsize = 0;
+ }
/* I don't know how this one should be used */
- /* obstack_free (&buffer->obstack, NULL); */
+ if (buffer->buf)
+ {
+ free(buffer->buf);
+ buffer->buf = NULL;
+ buffer->bufsize = 0;
+ buffer->bufoffset = 0;
+ }
+ if (buffer->len == 0)
+ {
+ buffer->content = obstack_finish(&buffer->obstack);
+ }
+ obstack_free (&buffer->obstack, NULL);
}
void
--- src/generate.c
+++ src/generate.c 2008-07-15 17:12:02.778172717 +0200
@@ -35,7 +35,7 @@ char *sample_tmpname = NULL;
*/
enum style_kind_e
{
- no_style, binary, sshparser, unprintable, delegate
+ no_style, binary, sshparser, unprintable, delegate, utf8
};
static enum style_kind_e
@@ -49,6 +49,8 @@ string_to_style_kind (const char * strin
return no_style;
else if (strequ (string, "delegate"))
return delegate;
+ else if (strequ (string, "utf8"))
+ return utf8;
return sshparser;
}
/************************************************************************/
@@ -360,6 +362,76 @@ print (uchar * filename, int * native_jo
msg_file_pages_printed (job, _("plain"));
(*native_jobs)++;
break;
+
+ case utf8:
+ {
+ char * argv[21], * ptr;
+ int n, argc, pfd[2];
+ pid_t pid;
+
+ if ((contract = get_subcontract(file_job->type, "plain")) == (struct delegation*)0)
+ goto plain_print;
+
+ argc = 1;
+ argv[0] = ptr = contract->command;
+ while ((ptr = (strchr(ptr, ' '))))
+ {
+ *ptr++ = '\0';
+ if (argc < 20)
+ argv[argc++] = ptr;
+ }
+
+ for (n = 0; n < argc; n++)
+ if (strstr(argv[n], "$x"))
+ argv[n] = job->requested_encoding_name;
+ argv[argc] = (char*)0;
+
+ if (pipe(pfd) < 0)
+ {
+ message (msg_report2, (stderr, _("[%s (%s): failed. Ignored]\n"), file_job->name, buf));
+ break;
+ }
+
+ switch ((pid = fork()))
+ {
+ case -1:
+ close(pfd[0]);
+ close(pfd[1]);
+ goto err;
+ break;
+ case 0:
+ if ((n = fileno(input_buffer->stream)) == 0)
+ {
+ char * tmpfile = NULL;
+ FILE * tmp;
+ tempname_ensure(tmpfile);
+ buffer_save(input_buffer, tmpfile);
+ tmp = xrfopen(tmpfile);
+ n = fileno(tmp);
+ free(tmpfile);
+ }
+ close(0);
+ if (dup(n) < 0)
+ goto err;
+ close(1);
+ if (dup(pfd[1]) < 0)
+ goto err;
+ close(n);
+ close(pfd[0]);
+ close(pfd[1]);
+ execvp(argv[0], argv);
+ err:
+ message (msg_report2, (stderr, _("[%s (%s): failed. Ignored]\n"), file_job->name, buf));
+ break;
+ default:
+ close(pfd[1]);
+ input_buffer->bufoffset = input_buffer->bufsize;
+ input_buffer->stream = fdopen(pfd[0], "r");
+ input_buffer->pipe_p = true;
+ goto plain_print;
+ }
+ break;
+ }
}
input_end (input_buffer);

View File

@ -1,6 +1,6 @@
--- .pkgextract --- .pkgextract
+++ .pkgextract 2006-02-23 13:05:17.000000000 +0100 +++ .pkgextract 2006-02-23 13:05:17.000000000 +0100
@@ -0,0 +1,8 @@ @@ -0,0 +1,9 @@
+patch -p0 -s --suffix=.ogon < ../a2ps-4.13-ogonkify.patch +patch -p0 -s --suffix=.ogon < ../a2ps-4.13-ogonkify.patch
+patch -p0 -s --suffix=.secu < ../a2ps-4.13-security.patch +patch -p0 -s --suffix=.secu < ../a2ps-4.13-security.patch
+patch -p1 -s --suffix=.tmpf < ../a2ps-4.13-tempfile.patch +patch -p1 -s --suffix=.tmpf < ../a2ps-4.13-tempfile.patch
@ -9,9 +9,10 @@
+patch -p1 -s --suffix=.incl < ../a2ps-4.13-include.patch +patch -p1 -s --suffix=.incl < ../a2ps-4.13-include.patch
+patch -p0 -s --suffix=.acro < ../a2ps-4.13-acroread.patch +patch -p0 -s --suffix=.acro < ../a2ps-4.13-acroread.patch
+patch -p0 -s --suffix=.base < ../a2ps-4.13-base.patch +patch -p0 -s --suffix=.base < ../a2ps-4.13-base.patch
--- configure.in +patch -p0 -s --suffix=.utf8 < ../a2ps-4.13-utf8.patch
+++ configure.in 2006-05-19 12:34:39.000000000 +0200 --- configure
@@ -197,8 +197,9 @@ +++ configure 2006-02-23 13:05:17.000000000 +0100
@@ -8448,8 +8448,9 @@ echo "configure:8448: checking for PostS
# Try to find some PostScript fonts. # Try to find some PostScript fonts.
# Find out if ghostscript is installed # Find out if ghostscript is installed
ac_psfont_path= ac_psfont_path=
@ -23,9 +24,9 @@
do do
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
ac_psfont_path="$ac_psfont_path:$ac_dir"; ac_psfont_path="$ac_psfont_path:$ac_dir";
--- configure --- configure.in
+++ configure 2006-02-23 13:05:17.000000000 +0100 +++ configure.in 2006-05-19 12:34:39.000000000 +0200
@@ -8448,8 +8448,9 @@ @@ -197,8 +197,9 @@ AC_MSG_CHECKING(for PostScript fonts pat
# Try to find some PostScript fonts. # Try to find some PostScript fonts.
# Find out if ghostscript is installed # Find out if ghostscript is installed
ac_psfont_path= ac_psfont_path=
@ -39,7 +40,7 @@
ac_psfont_path="$ac_psfont_path:$ac_dir"; ac_psfont_path="$ac_psfont_path:$ac_dir";
--- afm/fonts.map --- afm/fonts.map
+++ afm/fonts.map 2006-02-23 13:05:17.000000000 +0100 +++ afm/fonts.map 2006-02-23 13:05:17.000000000 +0100
@@ -43,6 +43,14 @@ @@ -43,6 +43,14 @@ Bookman-Demi pbkd
Bookman-DemiItalic pbkdi Bookman-DemiItalic pbkdi
Bookman-Light pbkl Bookman-Light pbkl
Bookman-LightItalic pbkli Bookman-LightItalic pbkli
@ -54,7 +55,7 @@
Courier pcrr Courier pcrr
Courier-Bold pcrb Courier-Bold pcrb
Courier-Bold-Comp pcrb-c Courier-Bold-Comp pcrb-c
@@ -55,6 +63,9 @@ @@ -55,6 +63,9 @@ Courier-Oblique pcrro
Courier-Oblique-Comp pcrro-c Courier-Oblique-Comp pcrro-c
Courier-Oblique-Ogonki pcrro-o Courier-Oblique-Ogonki pcrro-o
Courier-Ogonki pcrr-o Courier-Ogonki pcrr-o
@ -64,7 +65,7 @@
Helvetica phvr Helvetica phvr
Helvetica-Bold phvb Helvetica-Bold phvb
Helvetica-Bold-Comp phvb-c Helvetica-Bold-Comp phvb-c
@@ -75,11 +86,25 @@ @@ -75,11 +86,25 @@ NewCenturySchlbk-Bold pncb
NewCenturySchlbk-BoldItalic pncbi NewCenturySchlbk-BoldItalic pncbi
NewCenturySchlbk-Italic pncri NewCenturySchlbk-Italic pncri
NewCenturySchlbk-Roman pncr NewCenturySchlbk-Roman pncr
@ -90,7 +91,7 @@
Symbol psyr Symbol psyr
Times-Bold ptmb Times-Bold ptmb
Times-Bold-Comp ptmb-c Times-Bold-Comp ptmb-c
@@ -93,5 +118,20 @@ @@ -93,5 +118,20 @@ Times-Italic-Ogonki ptmri-o
Times-Roman ptmr Times-Roman ptmr
Times-Roman-Comp ptmr-c Times-Roman-Comp ptmr-c
Times-Roman-Ogonki ptmr-o Times-Roman-Ogonki ptmr-o
@ -113,7 +114,7 @@
ZapfDingbats pzdr ZapfDingbats pzdr
--- afm/pcrb.afm --- afm/pcrb.afm
+++ afm/pcrb.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/pcrb.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 633
XHeight 487 XHeight 487
Descender -257 Descender -257
Ascender 674 Ascender 674
@ -122,7 +123,7 @@
C 32 ; WX 600 ; N space ; B 500 -100 700 100 ; C 32 ; WX 600 ; N space ; B 500 -100 700 100 ;
C 33 ; WX 600 ; N exclam ; B 170 -65 430 689 ; C 33 ; WX 600 ; N exclam ; B 170 -65 430 689 ;
C 34 ; WX 600 ; N quotedbl ; B 66 254 534 663 ; C 34 ; WX 600 ; N quotedbl ; B 66 254 534 663 ;
@@ -255,6 +255,7 @@ @@ -255,6 +255,7 @@ C -1 ; WX 600 ; N onehalf ; B -70 -65 67
C -1 ; WX 600 ; N onequarter ; B -70 -50 670 674 ; C -1 ; WX 600 ; N onequarter ; B -70 -50 670 674 ;
C -1 ; WX 600 ; N onesuperior ; B 100 140 500 674 ; C -1 ; WX 600 ; N onesuperior ; B 100 140 500 674 ;
C -1 ; WX 600 ; N otilde ; B -8 -65 608 657 ; C -1 ; WX 600 ; N otilde ; B -8 -65 608 657 ;
@ -130,7 +131,7 @@
C -1 ; WX 600 ; N overscore ; B -92 489 692 689 ; C -1 ; WX 600 ; N overscore ; B -92 489 692 689 ;
C -1 ; WX 600 ; N plusminus ; B -8 -50 608 610 ; C -1 ; WX 600 ; N plusminus ; B -8 -50 608 610 ;
C -1 ; WX 600 ; N prescription ; B -37 -50 669 633 ; C -1 ; WX 600 ; N prescription ; B -37 -50 669 633 ;
@@ -279,7 +280,7 @@ @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N yacute ; B -29 -257 62
C -1 ; WX 600 ; N ydieresis ; B -29 -257 629 631 ; C -1 ; WX 600 ; N ydieresis ; B -29 -257 629 631 ;
C -1 ; WX 600 ; N zcaron ; B 35 -50 569 695 ; C -1 ; WX 600 ; N zcaron ; B 35 -50 569 695 ;
EndCharMetrics EndCharMetrics
@ -139,7 +140,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ;
@@ -336,6 +337,7 @@ @@ -336,6 +337,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 0 14
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ;
@ -149,7 +150,7 @@
EndComposites EndComposites
--- afm/pcrbo.afm --- afm/pcrbo.afm
+++ afm/pcrbo.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/pcrbo.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 633
XHeight 487 XHeight 487
Descender -257 Descender -257
Ascender 674 Ascender 674
@ -158,7 +159,7 @@
C 32 ; WX 600 ; N space ; B 500 -100 700 100 ; C 32 ; WX 600 ; N space ; B 500 -100 700 100 ;
C 33 ; WX 600 ; N exclam ; B 197 -65 549 689 ; C 33 ; WX 600 ; N exclam ; B 197 -65 549 689 ;
C 34 ; WX 600 ; N quotedbl ; B 171 254 654 663 ; C 34 ; WX 600 ; N quotedbl ; B 171 254 654 663 ;
@@ -255,6 +255,7 @@ @@ -255,6 +255,7 @@ C -1 ; WX 600 ; N onehalf ; B -14 -65 72
C -1 ; WX 600 ; N onequarter ; B -14 -50 741 674 ; C -1 ; WX 600 ; N onequarter ; B -14 -50 741 674 ;
C -1 ; WX 600 ; N onesuperior ; B 151 140 551 674 ; C -1 ; WX 600 ; N onesuperior ; B 151 140 551 674 ;
C -1 ; WX 600 ; N otilde ; B 34 -65 656 657 ; C -1 ; WX 600 ; N otilde ; B 34 -65 656 657 ;
@ -166,7 +167,7 @@
C -1 ; WX 600 ; N overscore ; B 33 489 817 689 ; C -1 ; WX 600 ; N overscore ; B 33 489 817 689 ;
C -1 ; WX 600 ; N plusminus ; B 3 -50 677 610 ; C -1 ; WX 600 ; N plusminus ; B 3 -50 677 610 ;
C -1 ; WX 600 ; N prescription ; B -26 -50 680 633 ; C -1 ; WX 600 ; N prescription ; B -26 -50 680 633 ;
@@ -279,7 +280,7 @@ @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N yacute ; B -62 -257 71
C -1 ; WX 600 ; N ydieresis ; B -62 -257 711 631 ; C -1 ; WX 600 ; N ydieresis ; B -62 -257 711 631 ;
C -1 ; WX 600 ; N zcaron ; B 46 -50 651 695 ; C -1 ; WX 600 ; N zcaron ; B 46 -50 651 695 ;
EndCharMetrics EndCharMetrics
@ -175,7 +176,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ;
@@ -336,6 +337,7 @@ @@ -336,6 +337,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 0 14
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ;
@ -185,7 +186,7 @@
EndComposites EndComposites
--- afm/pcrr.afm --- afm/pcrr.afm
+++ afm/pcrr.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/pcrr.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 583
XHeight 437 XHeight 437
Descender -207 Descender -207
Ascender 624 Ascender 624
@ -194,7 +195,7 @@
C 32 ; WX 600 ; N space ; B 560 -40 640 40 ; C 32 ; WX 600 ; N space ; B 560 -40 640 40 ;
C 33 ; WX 600 ; N exclam ; B 240 -5 360 639 ; C 33 ; WX 600 ; N exclam ; B 240 -5 360 639 ;
C 34 ; WX 600 ; N quotedbl ; B 126 314 474 603 ; C 34 ; WX 600 ; N quotedbl ; B 126 314 474 603 ;
@@ -255,6 +255,7 @@ @@ -255,6 +255,7 @@ C -1 ; WX 600 ; N onehalf ; B -10 -20 61
C -1 ; WX 600 ; N onequarter ; B -10 -20 610 624 ; C -1 ; WX 600 ; N onequarter ; B -10 -20 610 624 ;
C -1 ; WX 600 ; N onesuperior ; B 160 200 440 624 ; C -1 ; WX 600 ; N onesuperior ; B 160 200 440 624 ;
C -1 ; WX 600 ; N otilde ; B 52 -35 548 597 ; C -1 ; WX 600 ; N otilde ; B 52 -35 548 597 ;
@ -202,7 +203,7 @@
C -1 ; WX 600 ; N overscore ; B -32 559 632 639 ; C -1 ; WX 600 ; N overscore ; B -32 559 632 639 ;
C -1 ; WX 600 ; N plusminus ; B 52 -20 548 550 ; C -1 ; WX 600 ; N plusminus ; B 52 -20 548 550 ;
C -1 ; WX 600 ; N prescription ; B 23 -20 609 583 ; C -1 ; WX 600 ; N prescription ; B 23 -20 609 583 ;
@@ -279,7 +280,7 @@ @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N yacute ; B 31 -207 569
C -1 ; WX 600 ; N ydieresis ; B 31 -207 569 571 ; C -1 ; WX 600 ; N ydieresis ; B 31 -207 569 571 ;
C -1 ; WX 600 ; N zcaron ; B 95 -20 509 645 ; C -1 ; WX 600 ; N zcaron ; B 95 -20 509 645 ;
EndCharMetrics EndCharMetrics
@ -211,7 +212,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ;
@@ -336,6 +337,7 @@ @@ -336,6 +337,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 0 14
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ;
@ -221,7 +222,7 @@
EndComposites EndComposites
--- afm/pcrro.afm --- afm/pcrro.afm
+++ afm/pcrro.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/pcrro.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 583
XHeight 437 XHeight 437
Descender -207 Descender -207
Ascender 624 Ascender 624
@ -230,7 +231,7 @@
C 32 ; WX 600 ; N space ; B 560 -40 640 40 ; C 32 ; WX 600 ; N space ; B 560 -40 640 40 ;
C 33 ; WX 600 ; N exclam ; B 257 -5 483 639 ; C 33 ; WX 600 ; N exclam ; B 257 -5 483 639 ;
C 34 ; WX 600 ; N quotedbl ; B 231 314 594 603 ; C 34 ; WX 600 ; N quotedbl ; B 231 314 594 603 ;
@@ -255,6 +255,7 @@ @@ -255,6 +255,7 @@ C -1 ; WX 600 ; N onehalf ; B 46 -20 665
C -1 ; WX 600 ; N onequarter ; B 46 -20 681 624 ; C -1 ; WX 600 ; N onequarter ; B 46 -20 681 624 ;
C -1 ; WX 600 ; N onesuperior ; B 211 200 491 624 ; C -1 ; WX 600 ; N onesuperior ; B 211 200 491 624 ;
C -1 ; WX 600 ; N otilde ; B 91 -35 597 597 ; C -1 ; WX 600 ; N otilde ; B 91 -35 597 597 ;
@ -238,7 +239,7 @@
C -1 ; WX 600 ; N overscore ; B 95 559 759 639 ; C -1 ; WX 600 ; N overscore ; B 95 559 759 639 ;
C -1 ; WX 600 ; N plusminus ; B 56 -20 617 550 ; C -1 ; WX 600 ; N plusminus ; B 56 -20 617 550 ;
C -1 ; WX 600 ; N prescription ; B 27 -20 613 583 ; C -1 ; WX 600 ; N prescription ; B 27 -20 613 583 ;
@@ -279,7 +280,7 @@ @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N yacute ; B -4 -207 653
C -1 ; WX 600 ; N ydieresis ; B -4 -207 653 571 ; C -1 ; WX 600 ; N ydieresis ; B -4 -207 653 571 ;
C -1 ; WX 600 ; N zcaron ; B 99 -20 593 645 ; C -1 ; WX 600 ; N zcaron ; B 99 -20 593 645 ;
EndCharMetrics EndCharMetrics
@ -247,7 +248,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ;
@@ -336,6 +337,7 @@ @@ -336,6 +337,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 0 14
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 0 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 0 146 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 0 0 ;
@ -257,7 +258,7 @@
EndComposites EndComposites
--- afm/phvb.afm --- afm/phvb.afm
+++ afm/phvb.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/phvb.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 729
XHeight 542 XHeight 542
Descender -219 Descender -219
Ascender 729 Ascender 729
@ -266,7 +267,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ; C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ;
C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ; C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 834 ; N onehalf ; B 30 -20 803
C -1 ; WX 834 ; N onequarter ; B 30 -20 804 715 ; C -1 ; WX 834 ; N onequarter ; B 30 -20 804 715 ;
C -1 ; WX 333 ; N onesuperior ; B 46 284 247 709 ; C -1 ; WX 333 ; N onesuperior ; B 46 284 247 709 ;
C -1 ; WX 611 ; N otilde ; B 35 -23 569 729 ; C -1 ; WX 611 ; N otilde ; B 35 -23 569 729 ;
@ -274,7 +275,7 @@
C -1 ; WX 584 ; N plusminus ; B 40 0 544 674 ; C -1 ; WX 584 ; N plusminus ; B 40 0 544 674 ;
C -1 ; WX 737 ; N registered ; B -14 -20 751 745 ; C -1 ; WX 737 ; N registered ; B -14 -20 751 745 ;
C -1 ; WX 556 ; N scaron ; B 29 -23 520 745 ; C -1 ; WX 556 ; N scaron ; B 29 -23 520 745 ;
@@ -370,7 +371,7 @@ @@ -370,7 +371,7 @@ KPX y period -74
KPX y comma -74 KPX y comma -74
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -283,7 +284,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 191 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 191 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 191 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 191 ;
@@ -427,6 +428,7 @@ @@ -427,6 +428,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 200
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 146 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 146 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 191 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 191 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 139 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 139 0 ;
@ -293,7 +294,7 @@
EndComposites EndComposites
--- afm/phvbo.afm --- afm/phvbo.afm
+++ afm/phvbo.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/phvbo.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 729
XHeight 542 XHeight 542
Descender -219 Descender -219
Ascender 729 Ascender 729
@ -302,7 +303,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ; C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ;
C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ; C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 834 ; N onehalf ; B 120 -20 87
C -1 ; WX 834 ; N onequarter ; B 151 -20 846 715 ; C -1 ; WX 834 ; N onequarter ; B 151 -20 846 715 ;
C -1 ; WX 333 ; N onesuperior ; B 169 284 398 709 ; C -1 ; WX 333 ; N onesuperior ; B 169 284 398 709 ;
C -1 ; WX 611 ; N otilde ; B 82 -23 639 729 ; C -1 ; WX 611 ; N otilde ; B 82 -23 639 729 ;
@ -310,7 +311,7 @@
C -1 ; WX 584 ; N plusminus ; B 40 0 639 674 ; C -1 ; WX 584 ; N plusminus ; B 40 0 639 674 ;
C -1 ; WX 737 ; N registered ; B 55 -20 837 745 ; C -1 ; WX 737 ; N registered ; B 55 -20 837 745 ;
C -1 ; WX 556 ; N scaron ; B 60 -23 597 745 ; C -1 ; WX 556 ; N scaron ; B 60 -23 597 745 ;
@@ -368,7 +369,7 @@ @@ -368,7 +369,7 @@ KPX y period -37
KPX y comma -37 KPX y comma -37
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -319,7 +320,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 187 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 187 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 187 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 187 ;
@@ -425,6 +426,7 @@ @@ -425,6 +426,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 194
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 139 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 139 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 187 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 187 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 139 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 139 0 ;
@ -329,7 +330,7 @@
EndComposites EndComposites
--- afm/phvr.afm --- afm/phvr.afm
+++ afm/phvr.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/phvr.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 729
XHeight 525 XHeight 525
Descender -219 Descender -219
Ascender 729 Ascender 729
@ -338,7 +339,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ; C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ;
C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ; C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 834 ; N onehalf ; B 30 -21 804
C -1 ; WX 834 ; N onequarter ; B 30 -21 804 709 ; C -1 ; WX 834 ; N onequarter ; B 30 -21 804 709 ;
C -1 ; WX 333 ; N onesuperior ; B 60 284 219 709 ; C -1 ; WX 333 ; N onesuperior ; B 60 284 219 709 ;
C -1 ; WX 556 ; N otilde ; B 36 -23 510 716 ; C -1 ; WX 556 ; N otilde ; B 36 -23 510 716 ;
@ -346,7 +347,7 @@
C -1 ; WX 584 ; N plusminus ; B 40 0 544 618 ; C -1 ; WX 584 ; N plusminus ; B 40 0 544 618 ;
C -1 ; WX 737 ; N registered ; B -13 -23 751 741 ; C -1 ; WX 737 ; N registered ; B -13 -23 751 741 ;
C -1 ; WX 500 ; N scaron ; B 34 -24 459 740 ; C -1 ; WX 500 ; N scaron ; B 34 -24 459 740 ;
@@ -374,7 +375,7 @@ @@ -374,7 +375,7 @@ KPX y period -74
KPX y comma -74 KPX y comma -74
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -355,7 +356,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 199 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 199 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 199 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 199 ;
@@ -431,6 +432,7 @@ @@ -431,6 +432,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 200
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 117 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 117 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 199 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 199 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 111 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 111 0 ;
@ -365,7 +366,7 @@
EndComposites EndComposites
--- afm/phvro.afm --- afm/phvro.afm
+++ afm/phvro.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/phvro.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 729
XHeight 525 XHeight 525
Descender -219 Descender -219
Ascender 729 Ascender 729
@ -374,7 +375,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ; C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ;
C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ; C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 834 ; N onehalf ; B 116 -21 86
C -1 ; WX 834 ; N onequarter ; B 147 -21 836 709 ; C -1 ; WX 834 ; N onequarter ; B 147 -21 836 709 ;
C -1 ; WX 333 ; N onesuperior ; B 184 284 370 709 ; C -1 ; WX 333 ; N onesuperior ; B 184 284 370 709 ;
C -1 ; WX 556 ; N otilde ; B 80 -23 583 716 ; C -1 ; WX 556 ; N otilde ; B 80 -23 583 716 ;
@ -382,7 +383,7 @@
C -1 ; WX 584 ; N plusminus ; B 40 0 621 618 ; C -1 ; WX 584 ; N plusminus ; B 40 0 621 618 ;
C -1 ; WX 737 ; N registered ; B 55 -23 836 741 ; C -1 ; WX 737 ; N registered ; B 55 -23 836 741 ;
C -1 ; WX 500 ; N scaron ; B 61 -24 547 740 ; C -1 ; WX 500 ; N scaron ; B 61 -24 547 740 ;
@@ -367,7 +368,7 @@ @@ -367,7 +368,7 @@ KPX y period -74
KPX y comma -74 KPX y comma -74
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -391,7 +392,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 204 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 204 ;
@@ -424,6 +425,7 @@ @@ -424,6 +425,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 194
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 204 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 204 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 111 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 111 0 ;
@ -401,7 +402,7 @@
EndComposites EndComposites
--- afm/ptmb.afm --- afm/ptmb.afm
+++ afm/ptmb.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/ptmb.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 681
XHeight 460 XHeight 460
Descender -210 Descender -210
Ascender 670 Ascender 670
@ -410,7 +411,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ; C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ;
C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ; C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 -18 720
C -1 ; WX 750 ; N onequarter ; B 30 -18 720 690 ; C -1 ; WX 750 ; N onequarter ; B 30 -18 720 690 ;
C -1 ; WX 300 ; N onesuperior ; B 24 276 275 690 ; C -1 ; WX 300 ; N onesuperior ; B 24 276 275 690 ;
C -1 ; WX 500 ; N otilde ; B 25 -18 473 671 ; C -1 ; WX 500 ; N otilde ; B 25 -18 473 671 ;
@ -418,7 +419,7 @@
C -1 ; WX 570 ; N plusminus ; B 50 0 520 600 ; C -1 ; WX 570 ; N plusminus ; B 50 0 520 600 ;
C -1 ; WX 747 ; N registered ; B 16 -17 730 690 ; C -1 ; WX 747 ; N registered ; B 16 -17 730 690 ;
C -1 ; WX 389 ; N scaron ; B 29 -17 359 690 ; C -1 ; WX 389 ; N scaron ; B 29 -17 359 690 ;
@@ -393,7 +394,7 @@ @@ -393,7 +394,7 @@ KPX y period -55
KPX y comma -55 KPX y comma -55
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -427,7 +428,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 167 219 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 167 219 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 219 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 219 ;
@@ -450,6 +451,7 @@ @@ -450,6 +451,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 194
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 219 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 222 219 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ;
@ -437,7 +438,7 @@
EndComposites EndComposites
--- afm/ptmbi.afm --- afm/ptmbi.afm
+++ afm/ptmbi.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/ptmbi.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 662
XHeight 458 XHeight 458
Descender -203 Descender -203
Ascender 682 Ascender 682
@ -446,7 +447,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ; C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ;
C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ; C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 0 720 6
C -1 ; WX 750 ; N onequarter ; B 30 0 720 676 ; C -1 ; WX 750 ; N onequarter ; B 30 0 720 676 ;
C -1 ; WX 300 ; N onesuperior ; B 17 270 283 676 ; C -1 ; WX 300 ; N onesuperior ; B 17 270 283 676 ;
C -1 ; WX 500 ; N otilde ; B 27 -13 508 648 ; C -1 ; WX 500 ; N otilde ; B 27 -13 508 648 ;
@ -454,7 +455,7 @@
C -1 ; WX 570 ; N plusminus ; B 33 0 537 665 ; C -1 ; WX 570 ; N plusminus ; B 33 0 537 665 ;
C -1 ; WX 747 ; N registered ; B 23 -18 723 676 ; C -1 ; WX 747 ; N registered ; B 23 -18 723 676 ;
C -1 ; WX 389 ; N scaron ; B 16 -13 465 683 ; C -1 ; WX 389 ; N scaron ; B 16 -13 465 683 ;
@@ -377,7 +378,7 @@ @@ -377,7 +378,7 @@ KPX y period -37
KPX y comma -37 KPX y comma -37
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -463,7 +464,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 204 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 204 ;
@@ -434,6 +435,7 @@ @@ -434,6 +435,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 194
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 111 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 194 204 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 194 204 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ;
@ -473,7 +474,7 @@
EndComposites EndComposites
--- afm/ptmi.afm --- afm/ptmi.afm
+++ afm/ptmi.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/ptmi.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 660
XHeight 446 XHeight 446
Descender -206 Descender -206
Ascender 684 Ascender 684
@ -482,7 +483,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 46 -10 296 670 ; C 33 ; WX 333 ; N exclam ; B 46 -10 296 670 ;
C 34 ; WX 420 ; N quotedbl ; B 107 442 402 673 ; C 34 ; WX 420 ; N quotedbl ; B 107 442 402 673 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 -15 720
C -1 ; WX 750 ; N onequarter ; B 30 -15 720 684 ; C -1 ; WX 750 ; N onequarter ; B 30 -15 720 684 ;
C -1 ; WX 300 ; N onesuperior ; B 43 274 277 683 ; C -1 ; WX 300 ; N onesuperior ; B 43 274 277 683 ;
C -1 ; WX 500 ; N otilde ; B 27 -13 476 639 ; C -1 ; WX 500 ; N otilde ; B 27 -13 476 639 ;
@ -490,7 +491,7 @@
C -1 ; WX 675 ; N plusminus ; B 85 0 589 645 ; C -1 ; WX 675 ; N plusminus ; B 85 0 589 645 ;
C -1 ; WX 760 ; N registered ; B 40 -22 719 672 ; C -1 ; WX 760 ; N registered ; B 40 -22 719 672 ;
C -1 ; WX 389 ; N scaron ; B 16 -14 450 669 ; C -1 ; WX 389 ; N scaron ; B 16 -14 450 669 ;
@@ -389,7 +390,7 @@ @@ -389,7 +390,7 @@ KPX y period -55
KPX y comma -55 KPX y comma -55
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -499,7 +500,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 111 227 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 111 227 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 83 227 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 83 227 ;
@@ -446,6 +447,7 @@ @@ -446,6 +447,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 181
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 76 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 76 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 221 227 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 221 227 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 89 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 89 0 ;
@ -509,7 +510,7 @@
EndComposites EndComposites
--- afm/ptmr.afm --- afm/ptmr.afm
+++ afm/ptmr.afm 2006-02-23 13:05:17.000000000 +0100 +++ afm/ptmr.afm 2006-02-23 13:05:17.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@ CapHeight 662
XHeight 448 XHeight 448
Descender -217 Descender -217
Ascender 682 Ascender 682
@ -518,7 +519,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 109 -14 224 676 ; C 33 ; WX 333 ; N exclam ; B 109 -14 224 676 ;
C 34 ; WX 408 ; N quotedbl ; B 70 445 337 685 ; C 34 ; WX 408 ; N quotedbl ; B 70 445 337 685 ;
@@ -231,6 +231,7 @@ @@ -231,6 +231,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 -14 720
C -1 ; WX 750 ; N onequarter ; B 30 -14 720 676 ; C -1 ; WX 750 ; N onequarter ; B 30 -14 720 676 ;
C -1 ; WX 300 ; N onesuperior ; B 58 270 242 676 ; C -1 ; WX 300 ; N onesuperior ; B 58 270 242 676 ;
C -1 ; WX 500 ; N otilde ; B 30 -10 470 638 ; C -1 ; WX 500 ; N otilde ; B 30 -10 470 638 ;
@ -526,7 +527,7 @@
C -1 ; WX 564 ; N plusminus ; B 30 0 534 612 ; C -1 ; WX 564 ; N plusminus ; B 30 0 534 612 ;
C -1 ; WX 760 ; N registered ; B 43 -14 718 676 ; C -1 ; WX 760 ; N registered ; B 43 -14 718 676 ;
C -1 ; WX 389 ; N scaron ; B 39 -10 351 674 ; C -1 ; WX 389 ; N scaron ; B 39 -10 351 674 ;
@@ -382,7 +383,7 @@ @@ -382,7 +383,7 @@ KPX y period -65
KPX y comma -65 KPX y comma -65
EndKernPairs EndKernPairs
EndKernData EndKernData
@ -535,7 +536,7 @@
CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 214 ; CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 214 ;
CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ;
CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 214 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 214 ;
@@ -439,6 +440,7 @@ @@ -439,6 +440,7 @@ CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 194
CC ntilde 2 ; PCC n 0 0 ; PCC tilde 83 0 ; CC ntilde 2 ; PCC n 0 0 ; PCC tilde 83 0 ;
CC Otilde 2 ; PCC O 0 0 ; PCC tilde 194 214 ; CC Otilde 2 ; PCC O 0 0 ; PCC tilde 194 214 ;
CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ; CC otilde 2 ; PCC o 0 0 ; PCC tilde 83 0 ;
@ -570,7 +571,7 @@
SHELL = @SHELL@ SHELL = @SHELL@
srcdir = @srcdir@ srcdir = @srcdir@
@@ -45,10 +46,9 @@ @@ -45,10 +46,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@ AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
@ -582,7 +583,7 @@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = : NORMAL_INSTALL = :
@@ -57,8 +57,6 @@ @@ -57,8 +57,6 @@ POST_INSTALL = :
NORMAL_UNINSTALL = : NORMAL_UNINSTALL = :
PRE_UNINSTALL = : PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
@ -591,7 +592,7 @@
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AMDEP = @AMDEP@ AMDEP = @AMDEP@
@@ -130,7 +128,6 @@ @@ -130,7 +128,6 @@ file_prog = @file_prog@
l = @l@ l = @l@
lispdir = @lispdir@ lispdir = @lispdir@
@ -599,7 +600,7 @@
info_TEXINFOS = a2ps.texi regex.texi info_TEXINFOS = a2ps.texi regex.texi
TEXI2DVI = $(top_srcdir)/contrib/texi2dvi4a2ps TEXI2DVI = $(top_srcdir)/contrib/texi2dvi4a2ps
@@ -141,23 +138,19 @@ @@ -141,23 +138,19 @@ xa2ps = $(top_builddir)/src/a2ps
defs = $(top_builddir)/tests/defs defs = $(top_builddir)/tests/defs
A2PS = a2ps A2PS = a2ps
@ -625,7 +626,7 @@
TEXINFO_TEX = $(top_srcdir)/auxdir/texinfo.tex TEXINFO_TEX = $(top_srcdir)/auxdir/texinfo.tex
INFO_DEPS = a2ps.info regex.info INFO_DEPS = a2ps.info regex.info
DVIS = a2ps.dvi regex.dvi DVIS = a2ps.dvi regex.dvi
@@ -165,8 +158,9 @@ @@ -165,8 +158,9 @@ TEXINFOS = a2ps.texi regex.texi
DIST_COMMON = Makefile.am Makefile.in stamp-vti version.texi DIST_COMMON = Makefile.am Makefile.in stamp-vti version.texi
@ -636,7 +637,7 @@
GZIP_ENV = --best GZIP_ENV = --best
all: all-redirect all: all-redirect
.SUFFIXES: .SUFFIXES:
@@ -218,7 +212,7 @@ @@ -218,7 +212,7 @@ DVIPS = dvips
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
.texi.dvi: .texi.dvi:
@ -645,7 +646,7 @@
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
.texi: .texi:
@@ -237,7 +231,7 @@ @@ -237,7 +231,7 @@ DVIPS = dvips
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
.texinfo.dvi: .texinfo.dvi:
@ -654,7 +655,7 @@
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
.txi.info: .txi.info:
@@ -246,7 +240,7 @@ @@ -246,7 +240,7 @@ DVIPS = dvips
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
.txi.dvi: .txi.dvi:
@ -663,7 +664,7 @@
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
.txi: .txi:
@@ -262,7 +256,7 @@ @@ -262,7 +256,7 @@ install-info-am: $(INFO_DEPS)
@list='$(INFO_DEPS)'; \ @list='$(INFO_DEPS)'; \
for file in $$list; do \ for file in $$list; do \
d=$(srcdir); \ d=$(srcdir); \
@ -672,7 +673,7 @@
if test -f $$d/$$ifile; then \ if test -f $$d/$$ifile; then \
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
@@ -281,26 +275,24 @@ @@ -281,26 +275,24 @@ install-info-am: $(INFO_DEPS)
uninstall-info: uninstall-info:
$(PRE_UNINSTALL) $(PRE_UNINSTALL)
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
@ -709,7 +710,7 @@
test -f $(distdir)/$$file \ test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \ || cp -p $$d/$$file $(distdir)/$$file; \
@@ -308,14 +300,13 @@ @@ -308,14 +300,13 @@ dist-info: $(INFO_DEPS)
done done
mostlyclean-aminfo: mostlyclean-aminfo:
@ -731,7 +732,7 @@
clean-aminfo: clean-aminfo:
@@ -334,11 +325,18 @@ @@ -334,11 +325,18 @@ TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
@ -751,7 +752,7 @@
else \ else \
test -f $(distdir)/$$file \ test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@@ -368,7 +366,7 @@ @@ -368,7 +366,7 @@ uninstall: uninstall-am
all-am: Makefile $(INFO_DEPS) all-am: Makefile $(INFO_DEPS)
all-redirect: all-am all-redirect: all-am
install-strip: install-strip:
@ -760,7 +761,7 @@
installdirs: installdirs:
$(mkinstalldirs) $(DESTDIR)$(infodir) $(mkinstalldirs) $(DESTDIR)$(infodir)
@@ -382,7 +380,6 @@ @@ -382,7 +380,6 @@ distclean-generic:
-rm -f config.cache config.log stamp-h stamp-h[0-9]* -rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@ -768,7 +769,7 @@
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic
@@ -393,7 +390,6 @@ @@ -393,7 +390,6 @@ clean-am: clean-vti clean-aminfo clean-
clean: clean-am clean: clean-am
distclean-am: distclean-vti distclean-aminfo distclean-generic clean-am distclean-am: distclean-vti distclean-aminfo distclean-generic clean-am
@ -776,7 +777,7 @@
distclean: distclean-am distclean: distclean-am
@@ -409,8 +405,8 @@ @@ -409,8 +405,8 @@ install-info-am uninstall-info mostlycle
clean-aminfo maintainer-clean-aminfo tags distdir info-am info dvi-am \ clean-aminfo maintainer-clean-aminfo tags distdir info-am info dvi-am \
dvi check check-am installcheck-am installcheck install-exec-am \ dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \ install-exec install-data-am install-data install-am install \
@ -789,7 +790,7 @@
--- doc/a2ps.texi --- doc/a2ps.texi
+++ doc/a2ps.texi 2006-02-23 13:05:17.000000000 +0100 +++ doc/a2ps.texi 2006-02-23 13:05:17.000000000 +0100
@@ -6182,7 +6182,7 @@ @@ -6182,7 +6182,7 @@ Error related questions.
@subsection Why Does it Print Nothing? @subsection Why Does it Print Nothing?
@quotation @quotation
@ -798,7 +799,7 @@
@end quotation @end quotation
There are two ways that printing can fail: silently, or with a There are two ways that printing can fail: silently, or with a
@@ -6311,7 +6311,7 @@ @@ -6311,7 +6311,7 @@ If it is incorrect, ask for help around
@subsection Why Does it Say my File is Binary? @subsection Why Does it Say my File is Binary?
@quotation @quotation
@ -809,7 +810,7 @@
There are several reasons that can cause @pack{} to consider a file is There are several reasons that can cause @pack{} to consider a file is
--- encoding/encoding.map --- encoding/encoding.map
+++ encoding/encoding.map 2006-02-23 13:05:17.000000000 +0100 +++ encoding/encoding.map 2006-02-23 13:05:17.000000000 +0100
@@ -84,6 +84,10 @@ @@ -84,6 +84,10 @@ iso15 iso15
latin9 iso15 latin9 iso15
latin0 iso15 latin0 iso15
iso-8859-15 iso15 iso-8859-15 iso15
@ -822,7 +823,7 @@
# Other encodings # Other encodings
--- etc/Makefile.in --- etc/Makefile.in
+++ etc/Makefile.in 2006-02-23 13:05:17.000000000 +0100 +++ etc/Makefile.in 2006-02-23 13:05:17.000000000 +0100
@@ -297,7 +297,7 @@ @@ -297,7 +297,7 @@ uninstall-local:
# Building the correct a2ps.cfg # Building the correct a2ps.cfg
a2ps.cfg: a2ps_cfg Makefile a2ps.cfg: a2ps_cfg Makefile
@ -832,7 +833,7 @@
# Building a time stamp to know the version. # Building a time stamp to know the version.
README: README.in Makefile README: README.in Makefile
--- etc/a2ps_cfg.in --- etc/a2ps_cfg.in
+++ etc/a2ps_cfg.in 2006-02-23 13:36:13.000000000 +0100 +++ etc/a2ps_cfg.in 2008-07-15 18:50:20.922218080 +0200
@@ -43,26 +43,56 @@ @@ -43,26 +43,56 @@
# (Must be defined before --medium) # # (Must be defined before --medium) #
################################################################# #################################################################
@ -908,7 +909,7 @@
################################################################# #################################################################
# 2) Path to the a2ps resource # # 2) Path to the a2ps resource #
@@ -72,7 +102,7 @@ @@ -72,7 +102,7 @@ LibraryPath: @libpath@
# It may be useful to extend it so that a2ps can see some # It may be useful to extend it so that a2ps can see some
# TeX or X11 resources: it likes AFM files and PF[AB] files. # TeX or X11 resources: it likes AFM files and PF[AB] files.
@ -917,7 +918,7 @@
################################################################# #################################################################
@@ -264,24 +294,9 @@ @@ -264,31 +294,16 @@ $3p<-$3p> $4l# lines\n||
@COM_PSUTILS@@COM_dvips@ fi @COM_PSUTILS@@COM_dvips@ fi
########## HTML files ########## HTML files
@ -945,9 +946,18 @@
########## MetaFont / MetaPost files ########## MetaFont / MetaPost files
Delegation: MetaFont mf:ps \ Delegation: MetaFont mf:ps \
- #{del.metafont} && #{dvips} $N.dvi | #{psnup}
+ #{del.metafont} && #{dvips} $N.dvi | #{del.psnup}
Delegation: MetaPost mp:ps \
- #{del.metapost} && #{dvips} $N.dvi | #{psnup}
+ #{del.metapost} && #{dvips} $N.dvi | #{del.psnup}
########## PDF files
# Delegated to pdf2ps, GS 5.50
--- lib/jobs.c --- lib/jobs.c
+++ lib/jobs.c 2006-02-23 13:05:17.000000000 +0100 +++ lib/jobs.c 2006-02-23 13:05:17.000000000 +0100
@@ -134,10 +134,19 @@ @@ -134,10 +134,19 @@ a2ps_job_new (void)
/* Set the NLS on */ /* Set the NLS on */
setlocale (LC_TIME, ""); setlocale (LC_TIME, "");
@ -970,7 +980,7 @@
textdomain (PACKAGE); textdomain (PACKAGE);
--- lib/metaseq.c --- lib/metaseq.c
+++ lib/metaseq.c 2006-02-23 13:05:17.000000000 +0100 +++ lib/metaseq.c 2006-02-23 13:05:17.000000000 +0100
@@ -205,7 +205,7 @@ @@ -205,7 +205,7 @@ grow_user_string_obstack (struct obstack
int justification = 1; int justification = 1;
/* Format string. */ /* Format string. */
@ -996,7 +1006,7 @@
/* /*
* Hooks used * Hooks used
@@ -545,6 +549,16 @@ @@ -545,6 +549,16 @@ a2ps_handle_options (a2ps_job * job, int
break; break;
case 'M': /* select a medium */ case 'M': /* select a medium */
@ -1013,7 +1023,7 @@
xstrcpy (job->medium_request, optarg); xstrcpy (job->medium_request, optarg);
break; break;
@@ -647,6 +661,14 @@ @@ -647,6 +661,14 @@ a2ps_handle_options (a2ps_job * job, int
break; break;
case 'X': /* change the encoding scheme */ case 'X': /* change the encoding scheme */
@ -1023,7 +1033,7 @@
+ if (codeset && !strncasecmp(codeset, "iso", 3)) + if (codeset && !strncasecmp(codeset, "iso", 3))
+ optarg = xstrdup(codeset); + optarg = xstrdup(codeset);
+ else + else
+ optarg = xstrdup("iso15"); + optarg = xstrdup("ISO-8859-15");
+ } + }
/* Since there can be -X in the config files, and because /* Since there can be -X in the config files, and because
* the encoding.map has not been read yet (because to read * the encoding.map has not been read yet (because to read
@ -1053,7 +1063,7 @@
# define DIRECTORY_SEPARATOR '/' # define DIRECTORY_SEPARATOR '/'
--- lib/printlen.c --- lib/printlen.c
+++ lib/printlen.c 2006-02-23 13:05:17.000000000 +0100 +++ lib/printlen.c 2006-02-23 13:05:17.000000000 +0100
@@ -28,14 +28,15 @@ @@ -28,14 +28,15 @@ Foundation, Inc., 59 Temple Place - Suit
unsigned long strtoul (); unsigned long strtoul ();
static int static int
@ -1071,7 +1081,7 @@
for (cp = format ; *cp ; cp++) for (cp = format ; *cp ; cp++)
{ {
@@ -99,7 +100,7 @@ @@ -99,7 +100,7 @@ int_printflen (const char *format, va_li
int int
vprintflen (const char *format, va_list args) vprintflen (const char *format, va_list args)
{ {
@ -1082,7 +1092,7 @@
int int
--- lib/title.c --- lib/title.c
+++ lib/title.c 2006-02-23 13:05:17.000000000 +0100 +++ lib/title.c 2006-02-23 13:05:17.000000000 +0100
@@ -87,11 +87,13 @@ @@ -83,11 +83,13 @@ title (stream, c, center_p, format, va_a
VA_START (args, format); VA_START (args, format);
len = vprintflen (format, args); len = vprintflen (format, args);
@ -1108,7 +1118,7 @@
/* Perform subsitutions in string. Result is malloc'd /* Perform subsitutions in string. Result is malloc'd
--- man/a2ps.1 --- man/a2ps.1
+++ man/a2ps.1 2006-02-23 13:05:17.000000000 +0100 +++ man/a2ps.1 2006-02-23 13:05:17.000000000 +0100
@@ -80,8 +80,8 @@ @@ -80,8 +80,8 @@ first fill (DIRECTION=) rows, or columns
predefined font sizes and layouts for 1.. 9 virtuals predefined font sizes and layouts for 1.. 9 virtuals
.TP .TP
\fB\-A\fR, \fB\-\-file\-align\fR=\fIMODE\fR \fB\-A\fR, \fB\-\-file\-align\fR=\fIMODE\fR
@ -1121,7 +1131,7 @@
print borders around columns print borders around columns
--- ogonkify/Makefile.in --- ogonkify/Makefile.in
+++ ogonkify/Makefile.in 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/Makefile.in 2006-02-23 13:05:17.000000000 +0100
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@ PSPROGS = allchars.ps compose.ps helper.
@EXTENSIONS_TRUE@bin_SCRIPTS = @EXTENSIONS_TRUE@ogonkify composeglyphs @EXTENSIONS_TRUE@bin_SCRIPTS = @EXTENSIONS_TRUE@ogonkify composeglyphs
@EXTENSIONS_TRUE@ogonkify_DATA = @EXTENSIONS_TRUE@$(ENCODINGS_VECTORS) $(CREATED_FONTS) $(PSPROGS) README @EXTENSIONS_TRUE@ogonkify_DATA = @EXTENSIONS_TRUE@$(ENCODINGS_VECTORS) $(CREATED_FONTS) $(PSPROGS) README
@ -1132,7 +1142,7 @@
# #
--- ogonkify/ogonkify.in.in --- ogonkify/ogonkify.in.in
+++ ogonkify/ogonkify.in.in 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/ogonkify.in.in 2006-02-23 13:05:17.000000000 +0100
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@ $encoding='L2';
'ibmpc','IBMPCEncoding', 'mac','MacintoshEncoding', 'ibmpc','IBMPCEncoding', 'mac','MacintoshEncoding',
'HP','HPRomanEncoding'); 'HP','HPRomanEncoding');
@standardFont= @standardFont=
@ -1143,7 +1153,7 @@
'Helvetica-BoldOblique'); 'Helvetica-BoldOblique');
--- ogonkify/pcrb-o.afm --- ogonkify/pcrb-o.afm
+++ ogonkify/pcrb-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/pcrb-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Courier-Bold-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Courier-Bold-Ogonki Composite font FullName Courier-Bold-Ogonki Composite font
FontBBox -113 -250 749 801 FontBBox -113 -250 749 801
@ -1152,7 +1162,7 @@
C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
C 33 ; WX 600 ; N exclam ; B 202 -15 398 572 ; C 33 ; WX 600 ; N exclam ; B 202 -15 398 572 ;
C 34 ; WX 600 ; N quotedbl ; B 135 277 465 562 ; C 34 ; WX 600 ; N quotedbl ; B 135 277 465 562 ;
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@ C -1 ; WX 600 ; N Igrave ; B 77 0 523 78
C -1 ; WX 600 ; N brokenbar ; B 255 -175 345 675 ; C -1 ; WX 600 ; N brokenbar ; B 255 -175 345 675 ;
C -1 ; WX 600 ; N Oacute ; B 22 -18 578 784 ; C -1 ; WX 600 ; N Oacute ; B 22 -18 578 784 ;
C -1 ; WX 600 ; N otilde ; B 30 -15 570 636 ; C -1 ; WX 600 ; N otilde ; B 30 -15 570 636 ;
@ -1162,7 +1172,7 @@
C -1 ; WX 600 ; N Atilde ; B -9 0 609 759 ; C -1 ; WX 600 ; N Atilde ; B -9 0 609 759 ;
--- ogonkify/pcrbo-o.afm --- ogonkify/pcrbo-o.afm
+++ ogonkify/pcrbo-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/pcrbo-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Courier-BoldOblique-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Courier-BoldOblique-Ogonki Composite font FullName Courier-BoldOblique-Ogonki Composite font
FontBBox -56 -250 868 801 FontBBox -56 -250 868 801
@ -1171,7 +1181,7 @@
C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
C 33 ; WX 600 ; N exclam ; B 216 -15 495 572 ; C 33 ; WX 600 ; N exclam ; B 216 -15 495 572 ;
C 34 ; WX 600 ; N quotedbl ; B 212 277 584 562 ; C 34 ; WX 600 ; N quotedbl ; B 212 277 584 562 ;
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@ C -1 ; WX 600 ; N Igrave ; B 77 0 642 78
C -1 ; WX 600 ; N brokenbar ; B 218 -175 488 675 ; C -1 ; WX 600 ; N brokenbar ; B 218 -175 488 675 ;
C -1 ; WX 600 ; N Oacute ; B 74 -18 645 784 ; C -1 ; WX 600 ; N Oacute ; B 74 -18 645 784 ;
C -1 ; WX 600 ; N otilde ; B 71 -15 642 636 ; C -1 ; WX 600 ; N otilde ; B 71 -15 642 636 ;
@ -1181,7 +1191,7 @@
C -1 ; WX 600 ; N Atilde ; B -9 0 638 759 ; C -1 ; WX 600 ; N Atilde ; B -9 0 638 759 ;
--- ogonkify/pcrr-o.afm --- ogonkify/pcrr-o.afm
+++ ogonkify/pcrr-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/pcrr-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Courier-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Courier-Ogonki Composite font FullName Courier-Ogonki Composite font
FontBBox -28 -250 628 805 FontBBox -28 -250 628 805
@ -1190,7 +1200,7 @@
C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
C 33 ; WX 600 ; N exclam ; B 236 -15 364 572 ; C 33 ; WX 600 ; N exclam ; B 236 -15 364 572 ;
C 34 ; WX 600 ; N quotedbl ; B 187 328 413 562 ; C 34 ; WX 600 ; N quotedbl ; B 187 328 413 562 ;
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@ C -1 ; WX 600 ; N Igrave ; B 96 0 504 79
C -1 ; WX 600 ; N brokenbar ; B 275 -175 326 675 ; C -1 ; WX 600 ; N brokenbar ; B 275 -175 326 675 ;
C -1 ; WX 600 ; N Oacute ; B 43 -18 557 793 ; C -1 ; WX 600 ; N Oacute ; B 43 -18 557 793 ;
C -1 ; WX 600 ; N otilde ; B 62 -15 538 606 ; C -1 ; WX 600 ; N otilde ; B 62 -15 538 606 ;
@ -1200,7 +1210,7 @@
C -1 ; WX 600 ; N Atilde ; B 3 0 597 732 ; C -1 ; WX 600 ; N Atilde ; B 3 0 597 732 ;
--- ogonkify/pcrro-o.afm --- ogonkify/pcrro-o.afm
+++ ogonkify/pcrro-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/pcrro-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Courier-Oblique-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Courier-Oblique-Ogonki Composite font FullName Courier-Oblique-Ogonki Composite font
FontBBox -28 -250 742 805 FontBBox -28 -250 742 805
@ -1209,7 +1219,7 @@
C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
C 33 ; WX 600 ; N exclam ; B 243 -15 464 572 ; C 33 ; WX 600 ; N exclam ; B 243 -15 464 572 ;
C 34 ; WX 600 ; N quotedbl ; B 273 328 532 562 ; C 34 ; WX 600 ; N quotedbl ; B 273 328 532 562 ;
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@ C -1 ; WX 600 ; N Igrave ; B 96 0 623 79
C -1 ; WX 600 ; N brokenbar ; B 238 -175 469 675 ; C -1 ; WX 600 ; N brokenbar ; B 238 -175 469 675 ;
C -1 ; WX 600 ; N Oacute ; B 94 -18 638 793 ; C -1 ; WX 600 ; N Oacute ; B 94 -18 638 793 ;
C -1 ; WX 600 ; N otilde ; B 102 -15 629 606 ; C -1 ; WX 600 ; N otilde ; B 102 -15 629 606 ;
@ -1219,7 +1229,7 @@
C -1 ; WX 600 ; N Atilde ; B 3 0 656 732 ; C -1 ; WX 600 ; N Atilde ; B 3 0 656 732 ;
--- ogonkify/phvb-o.afm --- ogonkify/phvb-o.afm
+++ ogonkify/phvb-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/phvb-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Helvetica-Bold-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Helvetica-Bold-Ogonki Composite font FullName Helvetica-Bold-Ogonki Composite font
FontBBox -173 -221 1003 936 FontBBox -173 -221 1003 936
@ -1228,7 +1238,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ; C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ;
C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ; C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 834 ; N onehalf ; B 30 -20 803
C -1 ; WX 834 ; N onequarter ; B 30 -20 804 715 ; C -1 ; WX 834 ; N onequarter ; B 30 -20 804 715 ;
C -1 ; WX 333 ; N onesuperior ; B 46 284 247 709 ; C -1 ; WX 333 ; N onesuperior ; B 46 284 247 709 ;
C -1 ; WX 611 ; N otilde ; B 35 -23 569 729 ; C -1 ; WX 611 ; N otilde ; B 35 -23 569 729 ;
@ -1238,7 +1248,7 @@
C -1 ; WX 556 ; N scaron ; B 29 -23 520 745 ; C -1 ; WX 556 ; N scaron ; B 29 -23 520 745 ;
--- ogonkify/phvbo-o.afm --- ogonkify/phvbo-o.afm
+++ ogonkify/phvbo-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/phvbo-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Helvetica-BoldOblique-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Helvetica-BoldOblique-Ogonki Composite font FullName Helvetica-BoldOblique-Ogonki Composite font
FontBBox -177 -221 1107 936 FontBBox -177 -221 1107 936
@ -1247,7 +1257,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ; C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ;
C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ; C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 834 ; N onehalf ; B 120 -20 87
C -1 ; WX 834 ; N onequarter ; B 151 -20 846 715 ; C -1 ; WX 834 ; N onequarter ; B 151 -20 846 715 ;
C -1 ; WX 333 ; N onesuperior ; B 169 284 398 709 ; C -1 ; WX 333 ; N onesuperior ; B 169 284 398 709 ;
C -1 ; WX 611 ; N otilde ; B 82 -23 639 729 ; C -1 ; WX 611 ; N otilde ; B 82 -23 639 729 ;
@ -1257,7 +1267,7 @@
C -1 ; WX 556 ; N scaron ; B 60 -23 597 745 ; C -1 ; WX 556 ; N scaron ; B 60 -23 597 745 ;
--- ogonkify/phvr-o.afm --- ogonkify/phvr-o.afm
+++ ogonkify/phvr-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/phvr-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Helvetica-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Helvetica-Ogonki Composite font FullName Helvetica-Ogonki Composite font
FontBBox -174 -220 1001 944 FontBBox -174 -220 1001 944
@ -1266,7 +1276,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ; C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ;
C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ; C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 834 ; N onehalf ; B 30 -21 804
C -1 ; WX 834 ; N onequarter ; B 30 -21 804 709 ; C -1 ; WX 834 ; N onequarter ; B 30 -21 804 709 ;
C -1 ; WX 333 ; N onesuperior ; B 60 284 219 709 ; C -1 ; WX 333 ; N onesuperior ; B 60 284 219 709 ;
C -1 ; WX 556 ; N otilde ; B 36 -23 510 716 ; C -1 ; WX 556 ; N otilde ; B 36 -23 510 716 ;
@ -1276,7 +1286,7 @@
C -1 ; WX 500 ; N scaron ; B 34 -24 459 740 ; C -1 ; WX 500 ; N scaron ; B 34 -24 459 740 ;
--- ogonkify/phvro-o.afm --- ogonkify/phvro-o.afm
+++ ogonkify/phvro-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/phvro-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Helvetica-Oblique-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Helvetica-Oblique-Ogonki Composite font FullName Helvetica-Oblique-Ogonki Composite font
FontBBox -178 -220 1108 944 FontBBox -178 -220 1108 944
@ -1285,7 +1295,7 @@
C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ; C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ;
C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ; C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 834 ; N onehalf ; B 116 -21 86
C -1 ; WX 834 ; N onequarter ; B 147 -21 836 709 ; C -1 ; WX 834 ; N onequarter ; B 147 -21 836 709 ;
C -1 ; WX 333 ; N onesuperior ; B 184 284 370 709 ; C -1 ; WX 333 ; N onesuperior ; B 184 284 370 709 ;
C -1 ; WX 556 ; N otilde ; B 80 -23 582 716 ; C -1 ; WX 556 ; N otilde ; B 80 -23 582 716 ;
@ -1295,7 +1305,7 @@
C -1 ; WX 500 ; N scaron ; B 61 -24 547 740 ; C -1 ; WX 500 ; N scaron ; B 61 -24 547 740 ;
--- ogonkify/ptmb-o.afm --- ogonkify/ptmb-o.afm
+++ ogonkify/ptmb-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/ptmb-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Times-Bold-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Times-Bold-Ogonki Composite font FullName Times-Bold-Ogonki Composite font
FontBBox -172 -256 1008 965 FontBBox -172 -256 1008 965
@ -1304,7 +1314,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ; C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ;
C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ; C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 -18 720
C -1 ; WX 750 ; N onequarter ; B 30 -18 720 690 ; C -1 ; WX 750 ; N onequarter ; B 30 -18 720 690 ;
C -1 ; WX 300 ; N onesuperior ; B 24 276 275 690 ; C -1 ; WX 300 ; N onesuperior ; B 24 276 275 690 ;
C -1 ; WX 500 ; N otilde ; B 25 -18 473 671 ; C -1 ; WX 500 ; N otilde ; B 25 -18 473 671 ;
@ -1314,7 +1324,7 @@
C -1 ; WX 389 ; N scaron ; B 29 -17 359 690 ; C -1 ; WX 389 ; N scaron ; B 29 -17 359 690 ;
--- ogonkify/ptmbi-o.afm --- ogonkify/ptmbi-o.afm
+++ ogonkify/ptmbi-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/ptmbi-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Times-BoldItalic-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Times-BoldItalic-Ogonki Composite font FullName Times-BoldItalic-Ogonki Composite font
FontBBox -168 -232 1014 894 FontBBox -168 -232 1014 894
@ -1323,7 +1333,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ; C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ;
C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ; C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ;
@@ -219,6 +219,7 @@ @@ -219,6 +219,7 @@ C -1 ; WX 750 ; N onehalf ; B 30 0 720 6
C -1 ; WX 750 ; N onequarter ; B 30 0 720 676 ; C -1 ; WX 750 ; N onequarter ; B 30 0 720 676 ;
C -1 ; WX 300 ; N onesuperior ; B 17 270 283 676 ; C -1 ; WX 300 ; N onesuperior ; B 17 270 283 676 ;
C -1 ; WX 500 ; N otilde ; B 27 -13 507 648 ; C -1 ; WX 500 ; N otilde ; B 27 -13 507 648 ;
@ -1333,7 +1343,7 @@
C -1 ; WX 389 ; N scaron ; B 16 -13 465 683 ; C -1 ; WX 389 ; N scaron ; B 16 -13 465 683 ;
--- ogonkify/ptmr-o.afm --- ogonkify/ptmr-o.afm
+++ ogonkify/ptmr-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/ptmr-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Times-Roman-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Times-Roman-Ogonki Composite font FullName Times-Roman-Ogonki Composite font
FontBBox -168 -218 1000 898 FontBBox -168 -218 1000 898
@ -1342,7 +1352,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 130 -9 238 676 ; C 33 ; WX 333 ; N exclam ; B 130 -9 238 676 ;
C 34 ; WX 408 ; N quotedbl ; B 77 431 331 676 ; C 34 ; WX 408 ; N quotedbl ; B 77 431 331 676 ;
@@ -167,6 +167,7 @@ @@ -167,6 +167,7 @@ C -1 ; WX 444 ; N egrave ; B 25 -10 424
C -1 ; WX 300 ; N twosuperior ; B 1 270 296 676 ; C -1 ; WX 300 ; N twosuperior ; B 1 270 296 676 ;
C -1 ; WX 444 ; N eacute ; B 25 -10 424 678 ; C -1 ; WX 444 ; N eacute ; B 25 -10 424 678 ;
C -1 ; WX 500 ; N otilde ; B 29 -10 470 638 ; C -1 ; WX 500 ; N otilde ; B 29 -10 470 638 ;
@ -1352,7 +1362,7 @@
C -1 ; WX 500 ; N yacute ; B 14 -218 475 678 ; C -1 ; WX 500 ; N yacute ; B 14 -218 475 678 ;
--- ogonkify/ptmri-o.afm --- ogonkify/ptmri-o.afm
+++ ogonkify/ptmri-o.afm 2006-02-23 13:05:17.000000000 +0100 +++ ogonkify/ptmri-o.afm 2006-02-23 13:05:17.000000000 +0100
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ FontName Times-Italic-Ogonki
EncodingScheme StandardEncoding EncodingScheme StandardEncoding
FullName Times-Italic-Ogonki Composite font FullName Times-Italic-Ogonki Composite font
FontBBox -169 -217 1010 883 FontBBox -169 -217 1010 883
@ -1361,7 +1371,7 @@
C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
C 33 ; WX 333 ; N exclam ; B 39 -11 302 667 ; C 33 ; WX 333 ; N exclam ; B 39 -11 302 667 ;
C 34 ; WX 420 ; N quotedbl ; B 144 421 432 666 ; C 34 ; WX 420 ; N quotedbl ; B 144 421 432 666 ;
@@ -167,6 +167,7 @@ @@ -167,6 +167,7 @@ C -1 ; WX 444 ; N egrave ; B 31 -11 412
C -1 ; WX 300 ; N twosuperior ; B 33 271 324 676 ; C -1 ; WX 300 ; N twosuperior ; B 33 271 324 676 ;
C -1 ; WX 444 ; N eacute ; B 31 -11 459 664 ; C -1 ; WX 444 ; N eacute ; B 31 -11 459 664 ;
C -1 ; WX 500 ; N otilde ; B 27 -11 496 624 ; C -1 ; WX 500 ; N otilde ; B 27 -11 496 624 ;
@ -1379,7 +1389,7 @@
/* From basename.c */ /* From basename.c */
char *base_name PARAMS ((const char *path)); char *base_name PARAMS ((const char *path));
@@ -102,7 +103,9 @@ @@ -102,7 +103,9 @@ enum behavior behavior = b_ps;
defined twice, see lib/confg.gperf, handling of `Options:'. */ defined twice, see lib/confg.gperf, handling of `Options:'. */
char *program_name; char *program_name;
@ -1389,7 +1399,7 @@
/* Stores the data of liba2ps. */ /* Stores the data of liba2ps. */
@@ -925,6 +928,7 @@ @@ -925,6 +928,7 @@ int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {
int argn; int argn;
@ -1397,7 +1407,7 @@
/* Architecture specific initialization. */ /* Architecture specific initialization. */
#ifdef __EMX__ #ifdef __EMX__
@@ -941,10 +945,20 @@ @@ -941,10 +945,20 @@ Copyright (c) 1995-2000 Akim Demaille, M
/* Set the NLS on */ /* Set the NLS on */
setlocale (LC_TIME, ""); setlocale (LC_TIME, "");

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 15 17:23:07 CEST 2008 - werner@suse.de
- Better workaround for UTF-8 files
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 4 15:31:30 CET 2008 - werner@suse.de Tue Mar 4 15:31:30 CET 2008 - werner@suse.de

115
a2ps.sh
View File

@ -1,115 +0,0 @@
#!/bin/bash
#
# a2ps.sh: Simple workaround for getting a2ps handling
# UTF-8 partly. Partly means that iconv is
# used to get the UTF-8 encoding into the
# natural laint encoding of the base language
# provided by the enviroment variable LANG.
#
# Author: Werner Fink <werner@suse.de>
#
if test "${LANG#*.}" != "UTF-8" ; then
exec -a a2ps a2ps.bin ${1+"$@"}
fi
ENC=$(LANG=${LANG%.*}; locale charmap 2> /dev/null)
test "$ENC" = "ISO-8859-1" && ENC=ISO-8859-15
test "${LANG%.*}" = "en_US" && ENC=ISO-8859-1
case "${ENC%-*}" in
ISO-8859|KOI8) ;;
*) exec -a a2ps a2ps.bin -X $ENC ${1+"$@"}
esac
#
# All long options of a2ps
#
LONG="version,help,guess,which,glob,list:,quiet,silent,verbose::,user-option:,debug,define:,\
medium:,landscape,portrait,columns:,rows:,major:,file-align:borders,margin::,line-numbers:,\
font-size:,lines-per-page:,chars-per-line:,catman,tabsize:,non-printable-format:,\
no-header,header::,underlay::,center-title::,left-title::,right-title::,left-footer::,\
footer::,right-footer::,pages::,truncate-lines,interpret,end-of-line:,encoding:,\
title:,stdin:,print-anyway,delegate,toc::,pretty-print::,highlight-level:,strip-level:,\
output:,version-control:,suffix:,printer:,prologue:,ppd::,copies:,sides:,setpagedevice:,\
statusdict:,page-prefeed,no-page-prefeed"
#
# All normal options of a2ps
#
SHORT="qv::=:D:M:,r,R,1,2,3,4,5,6,7,8,9,A:,j,C,f:,L:,l:,m,T:,B,b:,u:,a::,\
c,i,X:,t:,Z,E::,g,o:,P:,d,n:,s:,S:,k,K"
#
# We need the file names provided on the command line
# or the information if we read from stdin.
#
CMDLINE=$(getopt -o $SHORT -l $LONG -s bash -q -- ${1+"$@"})
if test $? -ne 0 ; then
# Let a2ps do the error message
exec -a a2ps a2ps.bin ${1+"$@"}
fi
#
# Why sed? Just to get the `=' back instead of ` ' the
# empty space which are inserted by getopt(1)
#
CMDLINE=$(echo "$CMDLINE" | LC_ALL=POSIX sed -r "s|--([a-z-]+)[[:space:]]?(')|--\1=\2|g;s|-([vaE])[[:space:]]('[^-])|-\1\2|g")
#
# Just for encoding given on command line:
# allow the user to overwrite autodetection
#
case "${CMDLINE}" in
*-X\ \'UTF-8\'*|*--encoding=\'UTF-8\'*)
;; # handle this below
*-X*|*--encoding=*|*--version*|*--help*|*--which*|*--glob*|*--list=*)
exec -a a2ps a2ps.bin ${1+"$@"}
esac
#
# Work around ogonkify bug which cause not defined fontsize
#
case "${CMDLINE}" in
*-E\'wdiff\'*) ENC=ISO-8859-1
esac
#
# To not fool the bash with eval here
#
FILES=$(echo "$CMDLINE" | LC_ALL=POSIX sed -r "s|.*[[:space:]]--[[:space:]]?(.*)|\1|")
CMDLINE=$(echo "$CMDLINE" | LC_ALL=POSIX sed -r "s|(.*)[[:space:]]--[[:space:]]?.*|\1|")
test -z "$FILES" && FILES="'-'"
if test "$FILES" != "'-'" ; then
#
# We have real files, maybe with spaces in their path name
#
eval set -- "$CMDLINE"
eval fa=("$FILES")
for f in "${fa[@]}" ; do
case "$(file -b "$f" 2> /dev/null)" in
ISO-8859*text)
iconv -c -f ISO-8859-1 -t $ENC < "$f" | a2ps.bin -X $ENC --stdin="$f" ${1+"$@"}
stat=$?
;;
UTF-8*text)
iconv -c -f UTF-8 -t $ENC < "$f" | a2ps.bin -X $ENC --stdin="$f" ${1+"$@"}
stat=$?
;;
ASCII*text|*)
a2ps.bin -X $ENC ${1+"$@"} "$f"
stat=$?
;;
esac
test $stat -eq 0 || exit $stat
done
exit 0
fi
#
# Just handle stdin at last but not least
#
cat - | iconv -c -f UTF-8 -t $ENC | a2ps.bin -X $ENC ${1+"$@"}
exit $?

View File

@ -20,11 +20,10 @@ Requires: /bin/sed /usr/bin/iconv /usr/bin/file /usr/bin/wdiff /usr/bin/w3
AutoReqProv: on AutoReqProv: on
PreReq: %{install_info_prereq} PreReq: %{install_info_prereq}
Version: 4.13 Version: 4.13
Release: 1241 Release: 1285
Summary: Converts ASCII Text into PostScript Summary: Converts ASCII Text into PostScript
Source: a2ps-4.13b.tar.bz2 Source: a2ps-4.13b.tar.bz2
Source1: a2ps-ko.po Source1: a2ps-ko.po
Source2: a2ps.sh
Patch: a2ps-4.13.dif Patch: a2ps-4.13.dif
Patch1: a2ps-4.13-security.patch Patch1: a2ps-4.13-security.patch
Patch2: a2ps-4.13-ogonkify.patch Patch2: a2ps-4.13-ogonkify.patch
@ -34,6 +33,7 @@ Patch5: a2ps-4.13-nb.patch
Patch6: a2ps-4.13-include.patch Patch6: a2ps-4.13-include.patch
Patch7: a2ps-4.13-acroread.patch Patch7: a2ps-4.13-acroread.patch
Patch8: a2ps-4.13-base.patch Patch8: a2ps-4.13-base.patch
Patch9: a2ps-4.13-utf8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -59,6 +59,7 @@ touch -r configure.in .ref
%patch -P 7 -p 0 -b .acroread %patch -P 7 -p 0 -b .acroread
%endif %endif
%patch -P 8 -p 0 -b .base %patch -P 8 -p 0 -b .base
%patch -P 9 -p 0 -b .utf8
%patch %patch
cp -f %SOURCE1 po/ko.po cp -f %SOURCE1 po/ko.po
rename no nb po/no.* rename no nb po/no.*
@ -96,8 +97,6 @@ rename no nb po/no.*
make install DESTDIR=$RPM_BUILD_ROOT PSFONT_PATH=/usr/share/ghostscript/fonts make install DESTDIR=$RPM_BUILD_ROOT PSFONT_PATH=/usr/share/ghostscript/fonts
rm -r $RPM_BUILD_ROOT/%{_infodir}/regex* rm -r $RPM_BUILD_ROOT/%{_infodir}/regex*
rm -r $RPM_BUILD_ROOT/%{_infodir}/dir rm -r $RPM_BUILD_ROOT/%{_infodir}/dir
mv $RPM_BUILD_ROOT/usr/bin/a2ps $RPM_BUILD_ROOT/usr/bin/a2ps.bin
install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT/usr/bin/a2ps
%{find_lang} %{name} %{find_lang} %{name}
%clean %clean
@ -117,7 +116,6 @@ test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%config /etc/a2ps-site.cfg %config /etc/a2ps-site.cfg
%config /etc/a2ps.cfg %config /etc/a2ps.cfg
/usr/bin/a2ps /usr/bin/a2ps
/usr/bin/a2ps.bin
/usr/bin/card /usr/bin/card
/usr/bin/composeglyphs /usr/bin/composeglyphs
/usr/bin/fixnt /usr/bin/fixnt
@ -138,6 +136,8 @@ test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
/usr/share/ogonkify /usr/share/ogonkify
%changelog %changelog
* Tue Jul 15 2008 werner@suse.de
- Better workaround for UTF-8 files
* Tue Mar 04 2008 werner@suse.de * Tue Mar 04 2008 werner@suse.de
- Work around reencoded fonts from ogonkify in wdiff screen mode - Work around reencoded fonts from ogonkify in wdiff screen mode
* Fri Apr 20 2007 aj@suse.de * Fri Apr 20 2007 aj@suse.de
@ -253,7 +253,7 @@ test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
- merged patches - merged patches
* Thu Jul 06 2000 werner@suse.de * Thu Jul 06 2000 werner@suse.de
- Add `,' to atan2 in for77kwds.ssh to distinguish atan2 from cabs. - Add `,' to atan2 in for77kwds.ssh to distinguish atan2 from cabs.
* Fri Apr 07 2000 bk@suse.de * Sat Apr 08 2000 bk@suse.de
- added suse update config macro - added suse update config macro
* Fri Feb 25 2000 kukuk@suse.de * Fri Feb 25 2000 kukuk@suse.de
- Fill out copyright and group tag - Fill out copyright and group tag