dyson@iowasp.physics.uiowa.edu (Rick Dyson) (01/06/91)
Greetings TeXperts! I need some assistance with Andrew Trevorrow's DVItoVDU (v3.2) program. I am using the MODULA-2 version I got from Ted Neiland's 1990 DECUS release. I am using a VAX/VMS v5.3-1 with the executable image having been provided with the DECUS 'tape'. (I don't have a MODULA-2 compiler.) The program has worked excellently for awhile now, but a user has come to me with a problem I am unable to solve. The problem is that sometimes DVItoVDU can't find the dummy font. o If the TeX file references a font which has been scaled to an odd magnification, say 1875, which I don't have it uses the dummy font correctly. o IF the entire document is magnified to 1875, the font filenames get screwed up (extra incorrect characters appended to the end of the filename). According to the program code the lack of a "K" as the last character implies that the font must be a PXL style which makes DVItoVDU search for the dummy font in the PXL directory. Since it can't find the dummy font, it exits. Therein lies the problem. I only have PK fonts and don't even have the logical name which PXL_Font_Directory points to defined. (I have tried various values for this pointer with no luck.) Does anyone have any ideas as to why DVItoVDU has trouble producing a proper font filename? I would prefer to allow the use of any magnification. I have recreated the situation in two trivial TeX files and included the respective status pages from DVItoVDU below. Any help would be greatly appreciated!! Regards, Rick p.s. The reason I want to use an 'odd' magnification is because we use ArborText's DVILASER/HP to print to a HP LaserJet II which can scale fonts 'on the fly' to a user's desired magnification. I don't expect DVItoVDU to do this, just use the dummy font that I do have. -------------------------- test-1.tex -------------------------------------- \font\test=cmr10 scaled 1875 \test testing \bye ------------------------------------------------------------------------------ -------------------- status page of DVItoVDU v3.2 -------------------------- DVI file = DISK$:[DYSON.TEX]TEST-1.DVI;0 VDU = ANSI Resolution = 300 pixels per inch Magnification = 1000 (DVI mag) TFM directory = TEX_ROOT:[FONTS] PS font prefix = PS- PK Font directory = TEX_DISK:[TEX.FONTS.] PXL Font directory = TeX_PXLDir: Dummy font = TEX_DISK:[TEX.FONTS.][300]CMR10.pk Help file = TeX_Help:DVITOVDU_V3-2_ONLINE.HLP Horizontal origin = 1.0in Vertical origin = 1.0in Horizontal offset = 0.0in Vertical offset = 0.0in Paper wd by ht = 8.5in by 11.0in Total rules on current page = 0 Total fonts on ALL pages = 2 (if used on current page then total chars given) TEX_DISK:[TEX.FONTS.][300]cmr10.pk TeX_PXLDir:cmr10.2813PXL3]c does not exist! -------------------------- test-2.tex -------------------------------------- \magnification=1875 testing \bye ------------------------------------------------------------------------------ ------------------ status page of DVItoVDU v3.2 ---------------------------- DVI file = DISK$:[DYSON.TEX]TEST-2.DVI;0 VDU = ANSI Resolution = 300 pixels per inch Magnification = 1875 (DVI mag) TFM directory = TEX_ROOT:[FONTS] PS font prefix = PS- PK Font directory = TEX_DISK:[TEX.FONTS.] PXL Font directory = TeX_PXLDir: Dummy font = TeX_PXLDir:CMR10.2813PXL3]C <-- ********** Help file = TeX_Help:DVITOVDU_V3-2_ONLINE.HLP Horizontal origin = 1.0in Vertical origin = 1.0in Horizontal offset = 0.0in Vertical offset = 0.0in Paper wd by ht = 8.5in by 11.0in Total rules on current page = 0 Total fonts on ALL pages = 1 (if used on current page then total chars given) TeX_PXLDir:cmr10.2813PXL3]c does not exist! You haven't selected a page yet. ----------------------------- next page -------------------------------------- Total pages=1 DVI page=0 TeX page=[0] Next=> Terse Window at (0.0,0.0) 0.3 by 0.1 Page at (0.0,0.0) 0.0 by 0.0 IN Couldn't open dummy font TeX_PXLDir:CMR10.2813PXL3]C! <-- ********** Please tell your local TeXnician. -- Richard L. Dyson INTERNET: Dyson@IowaSP.Physics.UIowa.EDU Science is facts; just as houses are made of stones, so is science made of facts; but a pile of stones is not a house and a collection of facts is not necessarily science. -- Henri Poincaire