--- .pkgextract +++ .pkgextract 2006-02-23 13:05:17.000000000 +0100 @@ -0,0 +1,8 @@ +patch -p0 -s --suffix=.ogon < ../a2ps-4.13-ogonkify.patch +patch -p0 -s --suffix=.secu < ../a2ps-4.13-security.patch +patch -p1 -s --suffix=.tmpf < ../a2ps-4.13-tempfile.patch +patch -p0 -s --suffix=.spac < ../a2ps-4.13-space.patch +patch -p0 -s --suffix=.nb < ../a2ps-4.13-nb.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=.base < ../a2ps-4.13-base.patch --- configure.in +++ configure.in 2006-05-19 12:34:39.000000000 +0200 @@ -197,8 +197,9 @@ # Try to find some PostScript fonts. # Find out if ghostscript is installed ac_psfont_path= -for ac_dir in /usr/local/ghostscript/fonts \ - /usr/local/share/ghostscript/fonts; +for ac_dir in /usr/share/ghostscript/fonts \ + /usr/X11R6/lib/X11/fonts/Type1/ \ + /usr/X11R6/lib/X11/fonts/latin2/Type1/ ; do if test "cd $ac_dir 2>/dev/null && echo *.afm"; then ac_psfont_path="$ac_psfont_path:$ac_dir"; --- configure +++ configure 2006-02-23 13:05:17.000000000 +0100 @@ -8448,8 +8448,9 @@ # Try to find some PostScript fonts. # Find out if ghostscript is installed ac_psfont_path= -for ac_dir in /usr/local/ghostscript/fonts \ - /usr/local/share/ghostscript/fonts; +for ac_dir in /usr/share/ghostscript/fonts \ + /usr/X11R6/lib/X11/fonts/Type1/ \ + /usr/X11R6/lib/X11/fonts/latin2/Type1/ ; do if test "cd $ac_dir 2>/dev/null && echo *.afm"; then ac_psfont_path="$ac_psfont_path:$ac_dir"; --- afm/fonts.map +++ afm/fonts.map 2006-02-23 13:05:17.000000000 +0100 @@ -43,6 +43,14 @@ Bookman-DemiItalic pbkdi Bookman-Light pbkl Bookman-LightItalic pbkli +CenturySchL-Bold c059016l +CenturySchL-BoldItal c059036l +CenturySchL-Ital c059033l +CenturySchL-Roma c059013l +CharterBT-Bold bchb +CharterBT-BoldItalic bchbi +CharterBT-Italic bchri +CharterBT-Roman bchr Courier pcrr Courier-Bold pcrb Courier-Bold-Comp pcrb-c @@ -55,6 +63,9 @@ Courier-Oblique-Comp pcrro-c Courier-Oblique-Ogonki pcrro-o Courier-Ogonki pcrr-o +Cyrillic fcyr +Cyrillic-Italic fcyri +Dingbats d050000l Helvetica phvr Helvetica-Bold phvb Helvetica-Bold-Comp phvb-c @@ -75,11 +86,25 @@ NewCenturySchlbk-BoldItalic pncbi NewCenturySchlbk-Italic pncri NewCenturySchlbk-Roman pncr +NimbusMonL-Bold n022004l +NimbusMonL-BoldObli n022024l +NimbusMonL-Regu n022003l +NimbusMonL-ReguObli n022023l +NimbusRomNo n021003l +NimbusSanL-Bold n019004l +NimbusSanL-BoldCond n019044l +NimbusSanL-BoldCondItal n019064l +NimbusSanL-BoldItal n019024l +NimbusSanL-Regu n019003l +NimbusSanL-ReguCond n019043l +NimbusSanL-ReguCondItal n019063l +NimbusSanL-ReguItal n019023l PCFont pcfont Palatino-Bold pplb Palatino-BoldItalic pplbi Palatino-Italic pplri Palatino-Roman pplr +StandardSymL s050000l Symbol psyr Times-Bold ptmb Times-Bold-Comp ptmb-c @@ -93,5 +118,20 @@ Times-Roman ptmr Times-Roman-Comp ptmr-c Times-Roman-Ogonki ptmr-o +URWAntiquaT-RegularCondensed u003043t +URWBookmanL-DemiBold b018015l +URWBookmanL-DemiBoldItal b018035l +URWBookmanL-Ligh b018012l +URWBookmanL-LighItal b018032l +URWChanceryL-MediItal z003034l +URWGothicL-Book a010013l +URWGothicL-BookObli a010033l +URWGothicL-Demi a010015l +URWGothicL-DemiObli a010035l +URWGroteskT-Bold u004006t +URWPalladioL-Bold p052004l +URWPalladioL-BoldItal p052024l +URWPalladioL-Ital p052023l +URWPalladioL-Roma p052003l ZapfChancery-MediumItalic pzcmi ZapfDingbats pzdr --- afm/pcrb.afm +++ afm/pcrb.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 487 Descender -257 Ascender 674 -StartCharMetrics 260 +StartCharMetrics 261 C 32 ; WX 600 ; N space ; B 500 -100 700 100 ; C 33 ; WX 600 ; N exclam ; B 170 -65 430 689 ; C 34 ; WX 600 ; N quotedbl ; B 66 254 534 663 ; @@ -255,6 +255,7 @@ 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 otilde ; B -8 -65 608 657 ; +C -1 ; WX 600 ; N Euro ; B -69 -50 673 633 ; 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 prescription ; B -37 -50 669 633 ; @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N ydieresis ; B -29 -257 629 631 ; C -1 ; WX 600 ; N zcaron ; B 35 -50 569 695 ; EndCharMetrics -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; @@ -336,6 +337,7 @@ 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 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 0 146 ; CC aring 2 ; PCC a 0 0 ; PCC ring 0 0 ; EndComposites --- afm/pcrbo.afm +++ afm/pcrbo.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 487 Descender -257 Ascender 674 -StartCharMetrics 260 +StartCharMetrics 261 C 32 ; WX 600 ; N space ; B 500 -100 700 100 ; C 33 ; WX 600 ; N exclam ; B 197 -65 549 689 ; C 34 ; WX 600 ; N quotedbl ; B 171 254 654 663 ; @@ -255,6 +255,7 @@ 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 otilde ; B 34 -65 656 657 ; +C -1 ; WX 600 ; N Euro ; B -58 -50 776 633 ; 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 prescription ; B -26 -50 680 633 ; @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N ydieresis ; B -62 -257 711 631 ; C -1 ; WX 600 ; N zcaron ; B 46 -50 651 695 ; EndCharMetrics -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; @@ -336,6 +337,7 @@ 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 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 0 146 ; CC aring 2 ; PCC a 0 0 ; PCC ring 0 0 ; EndComposites --- afm/pcrr.afm +++ afm/pcrr.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 437 Descender -207 Ascender 624 -StartCharMetrics 260 +StartCharMetrics 261 C 32 ; WX 600 ; N space ; B 560 -40 640 40 ; C 33 ; WX 600 ; N exclam ; B 240 -5 360 639 ; C 34 ; WX 600 ; N quotedbl ; B 126 314 474 603 ; @@ -255,6 +255,7 @@ 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 otilde ; B 52 -35 548 597 ; +C -1 ; WX 600 ; N Euro ; B -9 -20 613 583 ; 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 prescription ; B 23 -20 609 583 ; @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N ydieresis ; B 31 -207 569 571 ; C -1 ; WX 600 ; N zcaron ; B 95 -20 509 645 ; EndCharMetrics -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; @@ -336,6 +337,7 @@ 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 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 0 146 ; CC aring 2 ; PCC a 0 0 ; PCC ring 0 0 ; EndComposites --- afm/pcrro.afm +++ afm/pcrro.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 437 Descender -207 Ascender 624 -StartCharMetrics 260 +StartCharMetrics 261 C 32 ; WX 600 ; N space ; B 560 -40 640 40 ; C 33 ; WX 600 ; N exclam ; B 257 -5 483 639 ; C 34 ; WX 600 ; N quotedbl ; B 231 314 594 603 ; @@ -255,6 +255,7 @@ 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 otilde ; B 91 -35 597 597 ; +C -1 ; WX 600 ; N Euro ; B -5 -20 718 583 ; 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 prescription ; B 27 -20 613 583 ; @@ -279,7 +280,7 @@ C -1 ; WX 600 ; N ydieresis ; B -4 -207 653 571 ; C -1 ; WX 600 ; N zcaron ; B 99 -20 593 645 ; EndCharMetrics -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 0 146 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 0 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 0 146 ; @@ -336,6 +337,7 @@ 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 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 0 146 ; CC aring 2 ; PCC a 0 0 ; PCC ring 0 0 ; EndComposites --- afm/phvb.afm +++ afm/phvb.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 542 Descender -219 Ascender 729 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ; C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ; @@ -231,6 +231,7 @@ 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 611 ; N otilde ; B 35 -23 569 729 ; +C -1 ; WX 833 ; N Euro ; B 66 0 776 729 ; 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 556 ; N scaron ; B 29 -23 520 745 ; @@ -370,7 +371,7 @@ KPX y comma -74 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 191 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 191 ; @@ -427,6 +428,7 @@ 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 139 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 197 191 ; CC aring 2 ; PCC a 0 0 ; PCC ring 111 0 ; EndComposites --- afm/phvbo.afm +++ afm/phvbo.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 542 Descender -219 Ascender 729 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ; C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ; @@ -231,6 +231,7 @@ 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 611 ; N otilde ; B 82 -23 639 729 ; +C -1 ; WX 833 ; N Euro ; B 66 0 931 729 ; 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 556 ; N scaron ; B 60 -23 597 745 ; @@ -368,7 +369,7 @@ KPX y comma -37 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 187 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 187 ; @@ -425,6 +426,7 @@ 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 139 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 194 187 ; CC aring 2 ; PCC a 0 0 ; PCC ring 111 0 ; EndComposites --- afm/phvr.afm +++ afm/phvr.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 525 Descender -219 Ascender 729 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ; C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ; @@ -231,6 +231,7 @@ 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 556 ; N otilde ; B 36 -23 510 716 ; +C -1 ; WX 833 ; N Euro ; B 75 0 761 729 ; 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 500 ; N scaron ; B 34 -24 459 740 ; @@ -374,7 +375,7 @@ KPX y comma -74 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 199 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 199 ; @@ -431,6 +432,7 @@ 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 111 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 167 199 ; CC aring 2 ; PCC a 0 0 ; PCC ring 111 0 ; EndComposites --- afm/phvro.afm +++ afm/phvro.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 525 Descender -219 Ascender 729 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ; C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ; @@ -231,6 +231,7 @@ 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 556 ; N otilde ; B 80 -23 583 716 ; +C -1 ; WX 833 ; N Euro ; B 75 0 916 729 ; 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 500 ; N scaron ; B 61 -24 547 740 ; @@ -367,7 +368,7 @@ KPX y comma -74 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 83 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 167 204 ; @@ -424,6 +425,7 @@ 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 111 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 167 204 ; CC aring 2 ; PCC a 0 0 ; PCC ring 111 0 ; EndComposites --- afm/ptmb.afm +++ afm/ptmb.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 460 Descender -210 Ascender 670 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ; C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ; @@ -231,6 +231,7 @@ 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 500 ; N otilde ; B 25 -18 473 671 ; +C -1 ; WX 944 ; N Euro ; B 21 0 914 681 ; 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 389 ; N scaron ; B 29 -17 359 690 ; @@ -393,7 +394,7 @@ KPX y comma -55 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 167 219 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 219 ; @@ -450,6 +451,7 @@ 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 83 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 187 219 ; CC aring 2 ; PCC a 0 0 ; PCC ring 76 0 ; EndComposites --- afm/ptmbi.afm +++ afm/ptmbi.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 458 Descender -203 Ascender 682 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ; C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ; @@ -231,6 +231,7 @@ 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 500 ; N otilde ; B 27 -13 508 648 ; +C -1 ; WX 889 ; N Euro ; B -29 -12 907 662 ; 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 389 ; N scaron ; B 16 -13 465 683 ; @@ -377,7 +378,7 @@ KPX y comma -37 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 204 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 204 ; @@ -434,6 +435,7 @@ 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 83 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 167 204 ; CC aring 2 ; PCC a 0 0 ; PCC ring 83 0 ; EndComposites --- afm/ptmi.afm +++ afm/ptmi.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 446 Descender -206 Ascender 684 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 46 -10 296 670 ; C 34 ; WX 420 ; N quotedbl ; B 107 442 402 673 ; @@ -231,6 +231,7 @@ 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 500 ; N otilde ; B 27 -13 476 639 ; +C -1 ; WX 833 ; N Euro ; B -24 0 850 660 ; 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 389 ; N scaron ; B 16 -14 450 669 ; @@ -389,7 +390,7 @@ KPX y comma -55 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 111 227 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 28 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 83 227 ; @@ -446,6 +447,7 @@ 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 89 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 80 227 ; CC aring 2 ; PCC a 0 0 ; PCC ring 29 0 ; EndComposites --- afm/ptmr.afm +++ afm/ptmr.afm 2006-02-23 13:05:17.000000000 +0100 @@ -17,7 +17,7 @@ XHeight 448 Descender -217 Ascender 682 -StartCharMetrics 228 +StartCharMetrics 229 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 109 -14 224 676 ; C 34 ; WX 408 ; N quotedbl ; B 70 445 337 685 ; @@ -231,6 +231,7 @@ 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 500 ; N otilde ; B 30 -10 470 638 ; +C -1 ; WX 889 ; N Euro ; B 19 0 871 662 ; 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 389 ; N scaron ; B 39 -10 351 674 ; @@ -382,7 +383,7 @@ KPX y comma -65 EndKernPairs EndKernData -StartComposites 58 +StartComposites 59 CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 139 214 ; CC zcaron 2 ; PCC z 0 0 ; PCC caron 55 0 ; CC Scaron 2 ; PCC S 0 0 ; PCC caron 111 214 ; @@ -439,6 +440,7 @@ 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 83 0 ; +CC Euro 2 ; PCC C 0 0 ; PCC equal 0 0 ; CC Aring 2 ; PCC A 0 0 ; PCC ring 194 214 ; CC aring 2 ; PCC a 0 0 ; PCC ring 55 0 ; EndComposites --- contrib/emacs/a2ps.el +++ contrib/emacs/a2ps.el 2006-02-23 13:05:17.000000000 +0100 @@ -44,7 +44,7 @@ ;; a2ps-compile-regexp ;;path to the a2ps program -(defvar a2ps-program "/usr/local/bin/a2ps") +(defvar a2ps-program "/usr/bin/a2ps") ;;thank god for make-regexp.el! (defvar a2ps-font-lock-keywords --- doc/Makefile.in +++ doc/Makefile.in 2006-02-23 13:05:17.000000000 +0100 @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4a from Makefile.am +# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -10,6 +10,7 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. + SHELL = @SHELL@ srcdir = @srcdir@ @@ -45,10 +46,9 @@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_FLAG = transform = @program_transform_name@ NORMAL_INSTALL = : @@ -57,8 +57,6 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : - -@SET_MAKE@ host_alias = @host_alias@ host_triplet = @host@ AMDEP = @AMDEP@ @@ -130,7 +128,6 @@ l = @l@ lispdir = @lispdir@ - info_TEXINFOS = a2ps.texi regex.texi TEXI2DVI = $(top_srcdir)/contrib/texi2dvi4a2ps @@ -141,23 +138,19 @@ defs = $(top_builddir)/tests/defs A2PS = a2ps -generated_texinfos = \ -encoding.texi prologue.texi sheets.texi translators.texi +generated_texinfos = encoding.texi prologue.texi sheets.texi translators.texi MAINTAINERCLEANFILES = $(generated_texinfos) -EXTRA_DIST = $(generated_texinfos) .a2psrc translators.txt \ -make-authors.pl translators.pl +EXTRA_DIST = $(generated_texinfos) .a2psrc translators.txt make-authors.pl translators.pl usdvi = $(PACKAGE)-$(VERSION).us.dvi a4dvi = $(PACKAGE)-$(VERSION).a4.dvi -subdir = doc mkinstalldirs = $(SHELL) $(top_srcdir)/auxdir/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = -DIST_SOURCES = TEXINFO_TEX = $(top_srcdir)/auxdir/texinfo.tex INFO_DEPS = a2ps.info regex.info DVIS = a2ps.dvi regex.dvi @@ -165,8 +158,9 @@ DIST_COMMON = Makefile.am Makefile.in stamp-vti version.texi -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: @@ -218,7 +212,7 @@ && $(MAKEINFO) `echo $< | sed 's,.*/,,'` .texi.dvi: - TEXINPUTS=$(top_srcdir)/auxdir:$$TEXINPUTS \ + TEXINPUTS=$(top_srcdir)/auxdir/texinfo.tex:$$TEXINPUTS \ MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< .texi: @@ -237,7 +231,7 @@ && $(MAKEINFO) `echo $< | sed 's,.*/,,'` .texinfo.dvi: - TEXINPUTS=$(top_srcdir)/auxdir:$$TEXINPUTS \ + TEXINPUTS=$(top_srcdir)/auxdir/texinfo.tex:$$TEXINPUTS \ MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< .txi.info: @@ -246,7 +240,7 @@ && $(MAKEINFO) `echo $< | sed 's,.*/,,'` .txi.dvi: - TEXINPUTS=$(top_srcdir)/auxdir:$$TEXINPUTS \ + TEXINPUTS=$(top_srcdir)/auxdir/texinfo.tex:$$TEXINPUTS \ MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< .txi: @@ -262,7 +256,7 @@ @list='$(INFO_DEPS)'; \ for file in $$list; do \ d=$(srcdir); \ - for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ + for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ if test -f $$d/$$ifile; then \ echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ @@ -281,26 +275,24 @@ uninstall-info: $(PRE_UNINSTALL) @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ - list='$(INFO_DEPS)'; \ - for file in $$list; do \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ - install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ - done; \ - else :; fi + ii=yes; \ + else ii=; fi; \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + test -z "$ii" \ + || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ + done @$(NORMAL_UNINSTALL) - @list='$(INFO_DEPS)'; \ + list='$(INFO_DEPS)'; \ for file in $$list; do \ - (if cd $(DESTDIR)$(infodir); then \ - echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \ - rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \ - else :; fi); \ + (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ done dist-info: $(INFO_DEPS) list='$(INFO_DEPS)'; \ for base in $$list; do \ d=$(srcdir); \ - for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \ + for file in `cd $$d && eval echo $$base*`; do \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file; \ @@ -308,14 +300,13 @@ done mostlyclean-aminfo: - -rm -f a2ps.aux a2ps.cp a2ps.cps a2ps.dvi a2ps.fn a2ps.fns a2ps.pgs \ - a2ps.ky a2ps.kys a2ps.ps a2ps.log a2ps.pg a2ps.toc a2ps.tp \ - a2ps.tps a2ps.vr a2ps.vrs a2ps.op a2ps.tr a2ps.cv a2ps.cn \ - a2ps.cm a2ps.ov regex.aux regex.cp regex.cps regex.dvi \ - regex.fn regex.fns regex.pgs regex.ky regex.kys regex.ps \ - regex.log regex.pg regex.toc regex.tp regex.tps regex.vr \ - regex.vrs regex.op regex.tr regex.cv regex.cn regex.cm \ - regex.ov + -rm -f a2ps.aux a2ps.cp a2ps.cps a2ps.dvi a2ps.fn a2ps.fns a2ps.ky \ + a2ps.kys a2ps.ps a2ps.log a2ps.pg a2ps.toc a2ps.tp a2ps.tps \ + a2ps.vr a2ps.vrs a2ps.op a2ps.tr a2ps.cv a2ps.cn regex.aux \ + regex.cp regex.cps regex.dvi regex.fn regex.fns regex.ky \ + regex.kys regex.ps regex.log regex.pg regex.toc regex.tp \ + regex.tps regex.vr regex.vrs regex.op regex.tr regex.cv \ + regex.cn clean-aminfo: @@ -334,11 +325,18 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +subdir = doc + distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pR $$d/$$file $(distdir); \ + cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -368,7 +366,7 @@ all-am: Makefile $(INFO_DEPS) all-redirect: all-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(infodir) @@ -382,7 +380,6 @@ -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: - -rm -f Makefile.in -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic @@ -393,7 +390,6 @@ clean: clean-am distclean-am: distclean-vti distclean-aminfo distclean-generic clean-am - -rm -f libtool distclean: distclean-am @@ -409,8 +405,8 @@ clean-aminfo maintainer-clean-aminfo tags distdir info-am info dvi-am \ dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all install-strip \ -installdirs mostlyclean-generic distclean-generic clean-generic \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean --- doc/a2ps.texi +++ doc/a2ps.texi 2006-02-23 13:05:17.000000000 +0100 @@ -6182,7 +6182,7 @@ @subsection Why Does it Print Nothing? @quotation -@i{@pack{} works OK, but the printer prints nothing.} +@pack{} @i{works OK, but the printer prints nothing.} @end quotation There are two ways that printing can fail: silently, or with a @@ -6311,7 +6311,7 @@ @subsection Why Does it Say my File is Binary? @quotation -@i{@pack{} complains that my file is binary though it is not.} +@pack{} @i{complains that my file is binary though it is not.} @end quotation There are several reasons that can cause @pack{} to consider a file is --- encoding/encoding.map +++ encoding/encoding.map 2006-02-23 13:05:17.000000000 +0100 @@ -84,6 +84,10 @@ latin9 iso15 latin0 iso15 iso-8859-15 iso15 +# Handle ASCII as simple ISO 8859-1 +ansi_x3.4-1968 iso15 +# Workaround wich may help for UTF-8 +utf-8 iso15 ######################################################################## # Other encodings --- etc/Makefile.in +++ etc/Makefile.in 2006-02-23 13:05:17.000000000 +0100 @@ -297,7 +297,7 @@ # Building the correct a2ps.cfg a2ps.cfg: a2ps_cfg Makefile - sed "s!@libpath@!$(libpath)!" a2ps_cfg > a2ps.cfg + sed "s!@libpath@!$(libpath)!;s!@psfontpath@!$(PSFONT_PATH)!" a2ps_cfg > a2ps.cfg # Building a time stamp to know the version. README: README.in Makefile --- etc/a2ps_cfg.in +++ etc/a2ps_cfg.in 2006-02-23 13:36:13.000000000 +0100 @@ -43,26 +43,56 @@ # (Must be defined before --medium) # ################################################################# # Medium: name, width height [llx lly urx ury] -Medium: A3 842 1190 -Medium: A4 595 842 -Medium: A5 420 595 -Medium: B4 729 1032 -Medium: B5 516 729 -Medium: Letter 612 792 -Medium: Legal 612 1008 -Medium: Tabloid 792 1224 -Medium: Ledger 1224 792 -Medium: Statement 396 612 -Medium: Executive 540 720 -Medium: Folio 612 936 -Medium: Quarto 610 780 -Medium: 10x14 720 1008 +Medium: A3 842 1190 +Medium: A4 595 842 +Medium: A5 420 595 +Medium: B4 729 1032 +Medium: B5 516 729 +Medium: Letter 612 792 +Medium: Legal 612 1008 +Medium: Tabloid 792 1224 +Medium: Ledger 1224 792 +Medium: Statement 396 612 +Medium: Executive 540 720 +Medium: Folio 612 936 +Medium: Quarto 610 780 +Medium: 10x14 720 1008 + +# Define ghostscript page names and their sizes +Medium: letter 612 792 +Medium: note 540 720 +Medium: legal 612 1008 +Medium: a0 2380 3368 +Medium: a1 1684 2380 +Medium: a2 1190 1684 +Medium: a3 842 1190 +Medium: a4 595 842 +Medium: a5 421 595 +Medium: a6 297 421 +Medium: a7 210 297 +Medium: a8 148 210 +Medium: a9 105 148 +Medium: a10 74 105 +Medium: b0 2836 4008 +Medium: b1 2004 2836 +Medium: b2 1418 2004 +Medium: b3 1002 1418 +Medium: b4 709 1002 +Medium: b5 501 709 +Medium: archE 2592 3456 +Medium: archD 1728 2592 +Medium: archC 1296 1728 +Medium: archB 864 1296 +Medium: archA 648 864 +Medium: flsa 612 936 +Medium: flse 612 936 +Medium: halfletter 396 612 +Medium: 11x17 792 1224 +Medium: ledger 1224 792 # Desk Jet users: bigger margins -Medium: A4dj 595 842 24 50 571 818 -Medium: Letterdj 612 792 24 40 588 768 - - +Medium: A4dj 595 842 24 50 571 818 +Medium: Letterdj 612 792 24 40 588 768 ################################################################# # 2) Path to the a2ps resource # @@ -72,7 +102,7 @@ # 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. -#AppendLibraryPath: foo +AppendLibraryPath: @psfontpath@ ################################################################# @@ -264,24 +294,9 @@ @COM_PSUTILS@@COM_dvips@ fi ########## HTML files -# Pass HTML to Netscape, hoping that there is an Netscape running... -# Tricks: -# 1. Netscape can't output on stdout, hence use a tmp file (#f0) -# 2. openfile refuses relative paths, so prepend cwd (%d) when relative -# 3. remote 'openfile' -remote 'saveas' is bad, because it is handled -# asynchronously, and the output can correspond to a previously -# loaded page (not that of openfile). So run Netscape twice. -# 4. It asks the user if s/he wants to replace an existing output file, -# so rm before. -@COM_PSUTILS@Delegation: Netscape html:ps \ -@COM_PSUTILS@ rm -f #f0; \ -@COM_PSUTILS@ if echo '$f' | grep '^/' >/dev/null 2>&1; then \ -@COM_PSUTILS@ ${NETSCAPE:-netscape} -noraise -remote 'openfile($f)'; \ -@COM_PSUTILS@ else \ -@COM_PSUTILS@ ${NETSCAPE:-netscape} -noraise -remote 'openfile(%d/$f)'; \ -@COM_PSUTILS@ fi && \ -@COM_PSUTILS@ ${NETSCAPE:-netscape} -noraise -remote 'saveas(#f0,postscript)' && \ -@COM_PSUTILS@ #{del.psselect} #f0 | #{del.psnup} +# Pass HTML to w3m, hoping that there is an installed w3m... +@COM_PSUTILS@Delegation: w3m html:ps \ +@COM_PSUTILS@ ${W3M:-w3m} -dump '$f' | #{del.a2ps} ########## MetaFont / MetaPost files Delegation: MetaFont mf:ps \ --- lib/jobs.c +++ lib/jobs.c 2006-02-23 13:05:17.000000000 +0100 @@ -134,10 +134,19 @@ /* Set the NLS on */ setlocale (LC_TIME, ""); -#ifdef HAVE_LC_MESSAGES +#ifdef LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif setlocale (LC_CTYPE, ""); +#ifdef LC_PAPER + setlocale (LC_PAPER, ""); +#endif + +#ifdef LC_NUMERIC + /* We use international numbering format for e.g. + --font-size and writing PostScript code */ + setlocale (LC_NUMERIC, "POSIX"); +#endif bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); --- lib/metaseq.c +++ lib/metaseq.c 2006-02-23 13:05:17.000000000 +0100 @@ -205,7 +205,7 @@ int justification = 1; /* Format string. */ - for (i = 0; str[i] != '\0'; i++) + for (i = 0; str != NULL && str[i] != '\0'; i++) { int type; --- lib/options.c +++ lib/options.c 2006-02-23 13:05:17.000000000 +0100 @@ -54,10 +54,14 @@ #include "argv.h" #include "quotearg.h" #include "filalign.h" +#include +#include #define MAN_LINES 66 /* no lines for a man */ extern char *program_name; +#ifndef _GNU_SOURCE extern const char *program_invocation_name; +#endif /* * Hooks used @@ -545,6 +549,16 @@ break; case 'M': /* select a medium */ +#ifdef LC_PAPER + if (!strcasecmp("LC_PAPER", optarg)) + { + unsigned int paperheight = (unsigned int)nl_langinfo(_NL_PAPER_HEIGHT); + if (paperheight && paperheight == 279) + optarg = xstrdup("letter"); + else + optarg = xstrdup("a4"); + } +#endif xstrcpy (job->medium_request, optarg); break; @@ -647,6 +661,14 @@ break; case 'X': /* change the encoding scheme */ + if (!strcasecmp("LC_CTYPE", optarg)) + { + char * codeset = nl_langinfo(_NL_CTYPE_CODESET_NAME); + if (codeset && !strncasecmp(codeset, "iso", 3)) + optarg = xstrdup(codeset); + else + optarg = xstrdup("iso15"); + } /* Since there can be -X in the config files, and because * the encoding.map has not been read yet (because to read * encoding.map, one has to know the lib path, and to know --- lib/path-concat.c +++ lib/path-concat.c 2006-02-23 13:05:17.000000000 +0100 @@ -21,17 +21,15 @@ # include #endif -#ifndef HAVE_MEMPCPY -# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) -#endif - #include #if HAVE_STRING_H # include #endif #include -char *malloc (); +#if !defined(HAVE_MEMPCPY) && !defined(mempcpy) +# define mempcpy(D, S, N) ((void *) ((char *) memcpy ((D), (S), (N)) + (N))) +#endif #ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' --- lib/printlen.c +++ lib/printlen.c 2006-02-23 13:05:17.000000000 +0100 @@ -28,14 +28,15 @@ unsigned long strtoul (); static int -int_printflen (const char *format, va_list *args) +int_printflen (const char *format, va_list args) { const char *cp; int total_width = 0; int width = 0; va_list ap; - memcpy (&ap, args, sizeof (va_list)); + // memcpy (&ap, args, sizeof (va_list)); + __va_copy(ap, args); for (cp = format ; *cp ; cp++) { @@ -99,7 +100,7 @@ int vprintflen (const char *format, va_list args) { - return int_printflen (format, &args); + return int_printflen (format, args); } int --- lib/title.c +++ lib/title.c 2006-02-23 13:05:17.000000000 +0100 @@ -87,11 +87,13 @@ VA_START (args, format); len = vprintflen (format, args); + va_end(args); if (format [strlen (format) - 1] == '\n') len --; if (center_p) for (padding = 0 ; padding < 79 - len ; padding += 2) putc (' ', stream); + VA_START (args, format); # if HAVE_VPRINTF || _LIBC vfprintf (stream, format, args); # else --- lib/xstrrpl.c +++ lib/xstrrpl.c 2006-02-23 13:05:17.000000000 +0100 @@ -22,6 +22,7 @@ #include #include "xstrrpl.h" +#undef stpcpy extern char * stpcpy(); /* Perform subsitutions in string. Result is malloc'd --- man/a2ps.1 +++ man/a2ps.1 2006-02-23 13:05:17.000000000 +0100 @@ -80,8 +80,8 @@ predefined font sizes and layouts for 1.. 9 virtuals .TP \fB\-A\fR, \fB\-\-file\-align\fR=\fIMODE\fR -align separate files according to MODE (fill, rank -page, sheet, or a number) +align separate files according to MODE (`virtual', `rank' +`page', `sheet', or a number) .TP \fB\-j\fR, \fB\-\-borders\fR* print borders around columns --- ogonkify/Makefile.in +++ ogonkify/Makefile.in 2006-02-23 13:05:17.000000000 +0100 @@ -138,7 +138,7 @@ @EXTENSIONS_TRUE@bin_SCRIPTS = @EXTENSIONS_TRUE@ogonkify composeglyphs @EXTENSIONS_TRUE@ogonkify_DATA = @EXTENSIONS_TRUE@$(ENCODINGS_VECTORS) $(CREATED_FONTS) $(PSPROGS) README -@EXTENSIONS_TRUE@afm_DATA = @EXTENSIONS_TRUE@$(CREATED_AFMS) +@EXTENSIONS_TRUE@afm_DATA = @EXTENSIONS_TRUE@$(CREATED_AFMS) $(ORIGINAL_COMP_FONTS_AFMS) @EXTENSIONS_TRUE@fonts_DATA = @EXTENSIONS_TRUE@$(CREATED_PFAS) # --- ogonkify/ogonkify.in.in +++ ogonkify/ogonkify.in.in 2006-02-23 13:05:17.000000000 +0100 @@ -38,7 +38,7 @@ 'ibmpc','IBMPCEncoding', 'mac','MacintoshEncoding', 'HP','HPRomanEncoding'); @standardFont= - ('Courier', 'Courier-Oblique', 'Courier-Bold', 'Courier-BoldItalic', + ('Courier', 'Courier-Oblique', 'Courier-Bold', 'Courier-BoldOblique', 'Times-Roman', 'Times-Italic', 'Times-Bold', 'Times-BoldItalic', 'Helvetica', 'Helvetica-Oblique', 'Helvetica-Bold', 'Helvetica-BoldOblique'); --- ogonkify/pcrb-o.afm +++ ogonkify/pcrb-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Courier-Bold-Ogonki Composite font FontBBox -113 -250 749 801 -StartCharMetrics 315 +StartCharMetrics 316 C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 33 ; WX 600 ; N exclam ; B 202 -15 398 572 ; C 34 ; WX 600 ; N quotedbl ; B 135 277 465 562 ; @@ -204,6 +204,7 @@ 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 otilde ; B 30 -15 570 636 ; +C -1 ; WX 600 ; N Euro ; B -2 0 602 562 ; C -1 ; WX 600 ; N Yacute ; B 12 0 589 784 ; C -1 ; WX 600 ; N Icircumflex ; B 77 0 523 780 ; C -1 ; WX 600 ; N Atilde ; B -9 0 609 759 ; --- ogonkify/pcrbo-o.afm +++ ogonkify/pcrbo-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Courier-BoldOblique-Ogonki Composite font FontBBox -56 -250 868 801 -StartCharMetrics 315 +StartCharMetrics 316 C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 33 ; WX 600 ; N exclam ; B 216 -15 495 572 ; C 34 ; WX 600 ; N quotedbl ; B 212 277 584 562 ; @@ -204,6 +204,7 @@ 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 otilde ; B 71 -15 642 636 ; +C -1 ; WX 600 ; N Euro ; B -2 0 721 562 ; C -1 ; WX 600 ; N Yacute ; B 109 0 708 784 ; C -1 ; WX 600 ; N Icircumflex ; B 77 0 642 780 ; C -1 ; WX 600 ; N Atilde ; B -9 0 638 759 ; --- ogonkify/pcrr-o.afm +++ ogonkify/pcrr-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Courier-Ogonki Composite font FontBBox -28 -250 628 805 -StartCharMetrics 315 +StartCharMetrics 316 C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 33 ; WX 600 ; N exclam ; B 236 -15 364 572 ; C 34 ; WX 600 ; N quotedbl ; B 187 328 413 562 ; @@ -204,6 +204,7 @@ 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 otilde ; B 62 -15 538 606 ; +C -1 ; WX 600 ; N Euro ; B 4 0 596 562 ; C -1 ; WX 600 ; N Yacute ; B 24 0 576 793 ; C -1 ; WX 600 ; N Icircumflex ; B 96 0 504 775 ; C -1 ; WX 600 ; N Atilde ; B 3 0 597 732 ; --- ogonkify/pcrro-o.afm +++ ogonkify/pcrro-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Courier-Oblique-Ogonki Composite font FontBBox -28 -250 742 805 -StartCharMetrics 315 +StartCharMetrics 316 C 32 ; WX 600 ; N space ; B 0 0 0 0 ; C 33 ; WX 600 ; N exclam ; B 243 -15 464 572 ; C 34 ; WX 600 ; N quotedbl ; B 273 328 532 562 ; @@ -204,6 +204,7 @@ 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 otilde ; B 102 -15 629 606 ; +C -1 ; WX 600 ; N Euro ; B 4 0 715 562 ; C -1 ; WX 600 ; N Yacute ; B 133 0 695 793 ; C -1 ; WX 600 ; N Icircumflex ; B 96 0 623 775 ; C -1 ; WX 600 ; N Atilde ; B 3 0 656 732 ; --- ogonkify/phvb-o.afm +++ ogonkify/phvb-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Helvetica-Bold-Ogonki Composite font FontBBox -173 -221 1003 936 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 112 0 262 729 ; C 34 ; WX 474 ; N quotedbl ; B 50 470 424 729 ; @@ -219,6 +219,7 @@ 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 611 ; N otilde ; B 35 -23 569 729 ; +C -1 ; WX 833 ; N Euro ; B 66 0 776 729 ; 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 556 ; N scaron ; B 29 -23 520 745 ; --- ogonkify/phvbo-o.afm +++ ogonkify/phvbo-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Helvetica-BoldOblique-Ogonki Composite font FontBBox -177 -221 1107 936 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 112 0 417 729 ; C 34 ; WX 474 ; N quotedbl ; B 177 470 579 729 ; @@ -219,6 +219,7 @@ 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 611 ; N otilde ; B 82 -23 639 729 ; +C -1 ; WX 833 ; N Euro ; B 66 0 931 729 ; 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 556 ; N scaron ; B 60 -23 597 745 ; --- ogonkify/phvr-o.afm +++ ogonkify/phvr-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Helvetica-Ogonki Composite font FontBBox -174 -220 1001 944 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 278 ; N exclam ; B 124 0 208 729 ; C 34 ; WX 355 ; N quotedbl ; B 52 462 305 708 ; @@ -219,6 +219,7 @@ 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 556 ; N otilde ; B 36 -23 510 716 ; +C -1 ; WX 833 ; N Euro ; B 75 0 761 729 ; 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 500 ; N scaron ; B 34 -24 459 740 ; --- ogonkify/phvro-o.afm +++ ogonkify/phvro-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Helvetica-Oblique-Ogonki Composite font FontBBox -178 -220 1108 944 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 278 ; N space ; B 0 0 0 0 ; C 33 ; WX 278 ; N exclam ; B 124 0 363 729 ; C 34 ; WX 355 ; N quotedbl ; B 177 462 455 708 ; @@ -219,6 +219,7 @@ 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 556 ; N otilde ; B 80 -23 582 716 ; +C -1 ; WX 833 ; N Euro ; B 75 0 916 729 ; 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 500 ; N scaron ; B 61 -24 547 740 ; --- ogonkify/ptmb-o.afm +++ ogonkify/ptmb-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Times-Bold-Ogonki Composite font FontBBox -172 -256 1008 965 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 84 -18 248 690 ; C 34 ; WX 555 ; N quotedbl ; B 67 371 425 690 ; @@ -219,6 +219,7 @@ 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 500 ; N otilde ; B 25 -18 473 671 ; +C -1 ; WX 944 ; N Euro ; B 21 0 914 681 ; 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 389 ; N scaron ; B 29 -17 359 690 ; --- ogonkify/ptmbi-o.afm +++ ogonkify/ptmbi-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Times-BoldItalic-Ogonki Composite font FontBBox -168 -232 1014 894 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 389 ; N exclam ; B 66 -13 367 676 ; C 34 ; WX 555 ; N quotedbl ; B 142 367 549 693 ; @@ -219,6 +219,7 @@ 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 500 ; N otilde ; B 27 -13 507 648 ; +C -1 ; WX 889 ; N Euro ; B -29 -12 907 662 ; 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 389 ; N scaron ; B 16 -13 465 683 ; --- ogonkify/ptmr-o.afm +++ ogonkify/ptmr-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Times-Roman-Ogonki Composite font FontBBox -168 -218 1000 898 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 130 -9 238 676 ; C 34 ; WX 408 ; N quotedbl ; B 77 431 331 676 ; @@ -167,6 +167,7 @@ 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 500 ; N otilde ; B 29 -10 470 638 ; +C -1 ; WX 889 ; N Euro ; B 12 0 863 662 ; C -1 ; WX 722 ; N Aacute ; B 15 0 706 890 ; C -1 ; WX 500 ; N ocircumflex ; B 29 -10 470 674 ; C -1 ; WX 500 ; N yacute ; B 14 -218 475 678 ; --- ogonkify/ptmri-o.afm +++ ogonkify/ptmri-o.afm 2006-02-23 13:05:17.000000000 +0100 @@ -5,7 +5,7 @@ EncodingScheme StandardEncoding FullName Times-Italic-Ogonki Composite font FontBBox -169 -217 1010 883 -StartCharMetrics 285 +StartCharMetrics 286 C 32 ; WX 250 ; N space ; B 0 0 0 0 ; C 33 ; WX 333 ; N exclam ; B 39 -11 302 667 ; C 34 ; WX 420 ; N quotedbl ; B 144 421 432 666 ; @@ -167,6 +167,7 @@ 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 500 ; N otilde ; B 27 -11 496 624 ; +C -1 ; WX 833 ; N Euro ; B -18 0 873 653 ; C -1 ; WX 611 ; N Aacute ; B -51 0 564 876 ; C -1 ; WX 500 ; N ocircumflex ; B 27 -11 468 661 ; C -1 ; WX 444 ; N yacute ; B -24 -206 459 664 ; --- src/main.c +++ src/main.c 2006-02-23 13:05:17.000000000 +0100 @@ -56,6 +56,7 @@ #include "signame.h" #include "long-options.h" #include "version-etc.h" +#include /* From basename.c */ char *base_name PARAMS ((const char *path)); @@ -102,7 +103,9 @@ defined twice, see lib/confg.gperf, handling of `Options:'. */ char *program_name; +#ifndef _GNU_SOURCE const char *program_invocation_name; +#endif /* Stores the data of liba2ps. */ @@ -925,6 +928,7 @@ main (int argc, char *argv[]) { int argn; + char *locale; /* Architecture specific initialization. */ #ifdef __EMX__ @@ -941,10 +945,20 @@ /* Set the NLS on */ setlocale (LC_TIME, ""); -#ifdef HAVE_LC_MESSAGES +#ifdef LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif setlocale (LC_CTYPE, ""); +#ifdef LC_PAPER + setlocale (LC_PAPER, ""); +#endif + locale = setlocale (LC_ALL, ""); + +#ifdef LC_NUMERIC + /* We use international numbering format for e.g. + --font-size and writing PostScript code */ + setlocale (LC_NUMERIC, "POSIX"); +#endif bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE);