Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #332

Re: What's postscript's basic algorithm?

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 <j4qras$nkt$1@reader1.panix.com> (permalink)
References <j355v0$ihm$1@dont-email.me> <9528d930-4e45-45ae-9d44-74045726388e@o26g2000vbi.googlegroups.com> <j4pppg$4i0$1@dont-email.me>
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

Show key headers only | View raw


In article <j4pppg$4i0$1@dont-email.me>,
NoHtmlMailsPlease <UsePlainText@dog.edu> wrote:
>  ...
>I'm trying to have my pdf-text do page-breaks at paragraph-breaks.
>And experimenting with `gs <my ps file> `  gets my stuck at
><position x,y to new-line> where, working from 1st principles leads to:
>lineStart -> Xcoodinate ; CurrentY - FontSizePlusextra -> Ycoordinate
>which seems absurdly "indirect".
>
>So far I haven't found the <relative move Y down to next line based
>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

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

What's postscript's basic algorithm? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-08-25 11:37 +0200
  Re: What's postscript's basic algorithm? bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-08-25 11:25 +0100
  Re: What's postscript's basic algorithm? luser- -droog <mijoryx@yahoo.com> - 2011-08-26 19:51 -0700
    Re: What's postscript's basic algorithm? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-14 09:49 +0200
      Re: What's postscript's basic algorithm? rodd@panix.com (Rod Dorman) - 2011-09-14 18:21 +0000
      Re: What's postscript's basic algorithm? bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-09-20 05:12 -0500
        Re: What's postscript's basic algorithm? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-20 20:52 +0200
          Re: What's postscript's basic algorithm? bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-09-22 15:40 +0100
            Re: What's postscript's basic algorithm? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2011-09-22 12:15 -0400
          Re: What's postscript's basic algorithm? bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-09-25 01:03 -0500
  Re: What's postscript's basic algorithm? Don Lancaster <don@tinaja.com> - 2011-11-08 18:18 -0700

csiph-web