Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!diablo1.news.osn.de!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed-00.mathworks.com!panix!not-for-mail From: rodd@panix.com (Rod Dorman) Newsgroups: comp.lang.postscript,adobe.postscript.programming Subject: Re: How2 wrap 8 text-lines in *.ps? Date: Tue, 27 Sep 2011 18:44:47 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 30 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1317149087 21863 166.84.1.3 (27 Sep 2011 18:44:47 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 27 Sep 2011 18:44:47 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: x330-a1.tempe.blueboxinc.net comp.lang.postscript:360 In article , NoHtmlMailsPlease wrote: >"Rod Dorman" wrote in message >news:j5ildf$cgu$1@reader1.panix.com... >> ... >> There isn't any concept of "next line" in PostScript. > >My brief look at the docus suggests that could be programmed as: >/Nline > def Define what you mean by "per font size". Is that something your PostScript emitting program is tracking or are you expecting the PostScript RIP to somehow figure it out for you? Consider a "line" that starts off with a 16 point high ornamental character EPS followed by a mix of 12 point Helvetica and 10 point Palatino-Bold characters. You'll need to "decr y-coordinate" by at least 16 points (probably a little more to avoid decenders) before emitting the PostScript code for that "line". In PostScript you first position the baseline before drawing the text which means you have to figure out how tall that line is going to be before you can do the move. -- -- Rod -- rodd(at)polylogics(dot)com