home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
1
/
1690
< prev
next >
Wrap
Internet Message Format
|
1990-12-28
|
1KB
From: ajcd@cs.ed.ac.uk (Angus Duggan)
Newsgroups: alt.sources
Subject: pbmtopk patch 2
Message-ID: <217@skye.cs.ed.ac.uk>
Date: 21 Aug 90 08:50:06 GMT
Here's a (very minor) bug fix for pbmtopk. It only affects the TFM files
created for fonts with no characters in them. Don't bother asking me why I
want to create fonts with no characters!-)
Angus.
==
Angus Duggan, Department of Computer Science, | I'm pink, therefore I'm Spam.
University of Edinburgh, JCMB, |
The King's Buildings, Mayfield Road, | JANET: ajcd@uk.ac.ed.lfcs
Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
*** pbmtopk.c.~1~ Fri Aug 10 13:08:46 1990
--- pbmtopk.c Sun Aug 12 11:31:30 1990
***************
*** 382,390 ****
integer headersize = 17;
integer i ;
! if (smallestch < 0 || largestch >= MAXPKCHAR) {
! fprintf(stderr, " No characters read!\n") ;
! jumpout() ;
}
if (numparam < 7) /* set default parameters */
switch (numparam) {
--- 382,390 ----
integer headersize = 17;
integer i ;
! if (largestch - smallestch < 0) {
! largestch = 0;
! smallestch = 1;
}
if (numparam < 7) /* set default parameters */
switch (numparam) {