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


Groups > comp.lang.postscript > #332

Re: What's postscript's basic algorithm?

From rodd@panix.com (Rod Dorman)
Newsgroups comp.lang.postscript
Subject Re: What's postscript's basic algorithm?
Date 2011-09-14 18:21 +0000
Organization Public Access Networks Corp.
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>

Show all headers | 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