Path: 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: Distribution: all Organization: Erasmus University Rotterdam, dept. EUR/EF/CS (Informatica) Lines: 35 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