| 1 | #!/bin/csh |
| 2 | # Tests font reencoding |
| 3 | afm2tfm Times-Roman.afm -v ptmr0 rptmr0 |
| 4 | afm2tfm Times-Roman.afm -P extex.enc -v ptmr1 rptmr1 |
| 5 | afm2tfm Times-Roman.afm -T extex.enc -v ptmr2 rptmr2 |
| 6 | afm2tfm Times-Roman.afm -t extex.enc -v ptmr3 rptmr3 |
| 7 | afm2tfm Times-Roman.afm -T extex.enc -V ptmr4 rptmr4 |
| 8 | # these three should all be the same |
| 9 | cmp rptmr4.tfm rptmr2.tfm |
| 10 | cmp rptmr4.tfm rptmr1.tfm |
| 11 | # these two should be the same |
| 12 | cmp rptmr0.tfm rptmr3.tfm |
| 13 | afm2tfm Times-Roman.afm -T extex.enc -V ptmr4 rptmr2 |
| 14 | vptovf ptmr0.vpl ptmr0.vf ptmr0.tfm |
| 15 | vptovf ptmr1.vpl ptmr1.vf ptmr1.tfm |
| 16 | vptovf ptmr2.vpl ptmr2.vf ptmr2.tfm |
| 17 | vptovf ptmr3.vpl ptmr3.vf ptmr3.tfm |
| 18 | vptovf ptmr4.vpl ptmr4.vf ptmr4.tfm |
| 19 | tex testfont <<EOF |
| 20 | ptmr0 |
| 21 | \leftline{\bf Normal (original) Times-Roman; Standard + Text} |
| 22 | \sample\init |
| 23 | rptmr0 |
| 24 | \table\vfill\eject\init |
| 25 | ptmr1 |
| 26 | \leftline{\bf Times-Roman; Extended + Text} |
| 27 | \sample\init |
| 28 | rptmr1 |
| 29 | \table\vfill\eject\init |
| 30 | ptmr2 |
| 31 | \leftline{\bf Times-Roman; Extended + Extended} |
| 32 | \sample\vfill\eject\init |
| 33 | ptmr3 |
| 34 | \leftline{\bf Times-Roman; Standard + Extended} |
| 35 | \sample\vfill\eject\init |
| 36 | ptmr4 |
| 37 | \leftline{\bf Times-Roman Small Caps; Extended + Extended} |
| 38 | \sample\bye |
| 39 | EOF |
| 40 | dvips testfont -t testfont.ps |