Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail From: rodd@panix.com (Rod Dorman) Newsgroups: comp.lang.postscript Subject: Re: What's postscript's basic algorithm? Date: Wed, 14 Sep 2011 18:21:16 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 29 Message-ID: References: <9528d930-4e45-45ae-9d44-74045726388e@o26g2000vbi.googlegroups.com> NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1316024476 24221 166.84.1.3 (14 Sep 2011 18:21:16 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 14 Sep 2011 18:21:16 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: x330-a1.tempe.blueboxinc.net comp.lang.postscript:332 In article , NoHtmlMailsPlease wrote: > ... >I'm trying to have my pdf-text do page-breaks at paragraph-breaks. >And experimenting with `gs ` gets my stuck at > where, working from 1st principles leads to: >lineStart -> Xcoodinate ; CurrentY - FontSizePlusextra -> Ycoordinate >which seems absurdly "indirect". > >So far I haven't found the on currentFontSize> And its quite possible there isn't any. Most word processing and page layout programs allow you to set the leading to something other than the font size. Column balancing is another case where vertical positioning won't be simple. >This stuff looks like a canOworms which could consume a lot of time >if allowed to. Well sure, PostScript is a programming language and like most of them theres more than one way of writing the program so it ain't gonna be easy to analyze the program to figure out what's a 'paragraph'. -- -- Rod -- rodd(at)polylogics(dot)com