a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EURO-Sign as M-$


From: Matthias Ehrig
Subject: EURO-Sign as M-$
Date: Fri, 25 Jan 2002 14:35:34 +0100

I have a solution; the problem is the missing Font metric in ogonkify 
fonts for the EURO sign ! I have build a simple shell script which can 
running after installing a2ps in the directory
        /usr/share/ogonkify/afm
(or the concerning one)

the script follows in the attachment: usable only for a2ps-4.13 !

integration in the original fonts would be great !

greets  Matthias

-- 
/* Matthias Ehrig ; TU Chemnitz, URZ, 09107 Chemnitz, Germany          
*/
/* Tel.0371 531 1525 (1548); E-Mail: address@hidden 
*/
/* Fax.0371 531 1629; URL: http://www.tu-chemnitz.de/~meh/             
*/
#!/bin/sh
#
# this script will modify the ogonkify afm fonts with EURO Sign
#
# created by address@hidden in 2002/01/25
#

if [ $# -eq 1 ] ; then
  if [ ! -d $1 ] ; then
    echo "invalid dir $1 -- Exit";
    echo "Usage: sh euro_afm.ed [ogonkify_afm_dir]"
    exit 1
  fi
  cd $1
fi

if [ ! -f pcrb-o.afm ] ; then
  echo "no valid fonts in `pwd` -- Exit";
  echo "Usage: sh euro_afm.ed [ogonkify_afm_dir]"
  exit 1
fi

if [ -f pcrb-o.afm ] ; then
grep Euro pcrb-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - pcrb-o.afm << END
206a
C -1 ; WX 600 ; N Euro ; B -2 0 602 562 ;
.
8c
StartCharMetrics 316
.
w
END
fi
fi
if [ -f pcrbo-o.afm ] ; then
grep Euro pcrbo-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - pcrbo-o.afm << END
206a
C -1 ; WX 600 ; N Euro ; B -2 0 721 562 ;
.
8c
StartCharMetrics 316
.
w
END
fi
fi
if [ -f pcrr-o.afm ] ; then
grep Euro pcrr-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - pcrr-o.afm << END
206a
C -1 ; WX 600 ; N Euro ; B 4 0 596 562 ;
.
8c
StartCharMetrics 316
.
w
END
fi
fi
if [ -f pcrro-o.afm ] ; then
grep Euro pcrro-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - pcrro-o.afm << END
206a
C -1 ; WX 600 ; N Euro ; B 4 0 715 562 ;
.
8c
StartCharMetrics 316
.
w
END
fi
fi
if [ -f phvb-o.afm ] ; then
grep Euro phvb-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - phvb-o.afm << END
221a
C -1 ; WX 833 ; N Euro ; B 66 0 776 729 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f phvbo-o.afm ] ; then
grep Euro phvbo-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - phvbo-o.afm << END
221a
C -1 ; WX 833 ; N Euro ; B 66 0 931 729 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f phvr-o.afm ] ; then
grep Euro phvr-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - phvr-o.afm << END
221a
C -1 ; WX 833 ; N Euro ; B 75 0 761 729 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f phvro-o.afm ] ; then
grep Euro phvro-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - phvro-o.afm << END
221a
C -1 ; WX 833 ; N Euro ; B 75 0 916 729 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f ptmbi-o.afm ] ; then
grep Euro ptmbi-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - ptmbi-o.afm << END
221a
C -1 ; WX 889 ; N Euro ; B -29 -12 907 662 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f ptmb-o.afm ] ; then
grep Euro ptmb-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - ptmb-o.afm << END
221a
C -1 ; WX 944 ; N Euro ; B 21 0 914 681 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f ptmri-o.afm ] ; then
grep Euro ptmri-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - ptmri-o.afm << END
169a
C -1 ; WX 833 ; N Euro ; B -18 0 873 653 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi
if [ -f ptmr-o.afm ] ; then
grep Euro ptmr-o.afm >/dev/null
if [ $? -ne 0 ] ; then
ed - ptmr-o.afm << END
169a
C -1 ; WX 889 ; N Euro ; B 12 0 863 662 ;
.
8c
StartCharMetrics 286
.
w
END
fi
fi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]