🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #766

Re: dvipage bug

#766
From: Eelco van Asperen
Date: Fri, 08 Sep 1989 09:54
35 lines
1366 bytes
ben@nsf1.mth.msu.edu (Ben Lotto) writes:
>I recently got dvipage from june.cs.washington.edu and compiled it to
>use pk files.  Everything compiled fine.  But when I run it on the
>output from the tex file

>	Hi there.  How are you today?
>	\bye

>the image in the dvipage window looks like

>	e H re o toay

This is a bug in fonts.c; the routine that reads the characters from
the font-file does not return anything, ie. garbage AND the result
is used ! It does work the second time the page is displayed because
the character does not have to be read from the font-file.
Aplly this fix to fonts.c and things should work ok:

------- fonts.c -------
404a405
> 	/*NOTREACHED*/
1216c1217
< 		return;
---
> 		return FALSE;
1333a1335
> 	return TRUE;

Hope this helps,

-- 
Eelco van Asperen
Uucp: evas@cs.eur.nl ||  Earn/Bitnet: asperen@hroeur5
"Stick a fork in their ass and turn them over, they're done",
					Lou Reed, Last Great American Whale
Technical Details
Message-ID: <1989Sep8.095422.19227@cs.eur.nl>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!eurtrx!euraiv1!evas
References: <BEN.89Sep6145012@lamm.nsf1.mth.msu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!eurtrx!euraiv1!evas
From: evas@cs.eur.nl (Eelco van Asperen)
Newsgroups: comp.text
Subject: Re: dvipage bug
Message-ID: <1989Sep8.095422.19227@cs.eur.nl>
Date: 8 Sep 89 09:54:22 GMT
References: <BEN.89Sep6145012@lamm.nsf1.mth.msu.edu>
Distribution: all
Organization: Erasmus University Rotterdam, dept. EUR/EF/CS (Informatica)
Lines: 35