diff options
| author | wkj <devnull@localhost> | 2004-05-17 02:24:15 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-17 02:24:15 +0000 |
| commit | e8fb1d3efb114d1859f14fda2b6681d99df1f48a (patch) | |
| tree | a3b437370521c9eff6cab00dd77fd2d95a3dc090 /src/cmd/postscript/tr2post/utils.c | |
| parent | 8a3cbc157981485adc947c0477dc3e4907acc9a3 (diff) | |
| download | plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.tar.gz plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.zip | |
tr2post and aux/download; download is a shell script in $PLAN9/bin.
Diffstat (limited to 'src/cmd/postscript/tr2post/utils.c')
| -rw-r--r-- | src/cmd/postscript/tr2post/utils.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cmd/postscript/tr2post/utils.c b/src/cmd/postscript/tr2post/utils.c index e9979ff1..9b51d036 100644 --- a/src/cmd/postscript/tr2post/utils.c +++ b/src/cmd/postscript/tr2post/utils.c @@ -88,12 +88,13 @@ void glyphout(Rune rune, char *stoken, BOOLEAN specialflag) { struct charent **cp; struct troffont *tfp; - struct psfent *psfp; + struct psfent *psfp = (struct psfent*)0; int i, t; int fontid; /* this is the troff font table index, not the mounted font table index */ - int mi, fi, wid; + int mi, wid; Rune r; + mi = 0; settrfont(); /* check current font for the character, special or not */ @@ -187,8 +188,6 @@ foundit: if (t == 0x0001) { /* character is in charlib */ endstring(); if (pageon()) { - struct charent *tcp; - Bprint(Bstdout, "%d %d m ", hpos, vpos); /* if char is unicode character rather than name, clean up for postscript */ wid = chartorune(&r, (*cp)->name); @@ -250,7 +249,7 @@ specialout(char *stoken) { } void -graphfunc(Biobufhdr *bp) { +graphfunc(Biobuf *bp) { } long |
