Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!petunia!news From: araftis@polyslo.CalPoly.EDU (Alex Raftis) Newsgroups: comp.sys.next Subject: Re: WriteNow (underline option) Keywords: text, writenow, underline, fonts Message-ID: <2752f52c.5d4b@petunia.CalPoly.EDU> Date: 27 Nov 90 23:22:20 GMT References: <10416@helios.TAMU.EDU> Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407 Lines: 29 In article <10416@helios.TAMU.EDU> b645zai@utarlg.utarl.edu writes: >In article , neil@ms.uky.edu (Neil Greene) writes >>For some reason I have been unable to find any UNDERLINE option anywhere in a >>manual or commands in WriteNow for the next. Has this option been forgotten, >>or left out on purpose? > >According to the local NeXT rep, the version of WriteNow distributed with >Ver 2.0 of the OS will do underlining, whereas the previous versions did not. > >A question for the PostScript gurus out there: is underlining an attribute >that text can have, where you can say "underline all text from now on until >I say otherwise", or does the code have to explicitly draw lines under the >characters? >---- The answer is sort of. When you underline in PostScript, at least on a Laser- Writer (it might be modified on the NeXT), you use a special version of the show command. This version allows you imbed code that will be execuated after each character is drawn. The easiest way would be to just make a procedure that does this and call it something like showul. -- -------------------------------------------------- Internet: araftis@polyslo.CalPoly.EDU America Online: xela (Real Life: Alex Raftis)