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


Groups > comp.lang.postscript > #330

Re: What's postscript's basic algorithm?

From "NoHtmlMailsPlease" <UsePlainText@dog.edu>
Newsgroups comp.lang.postscript
Subject Re: What's postscript's basic algorithm?
Date 2011-09-14 09:49 +0200
Organization A noiseless patient Spider
Message-ID <j4pppg$4i0$1@dont-email.me> (permalink)
References <j355v0$ihm$1@dont-email.me> <9528d930-4e45-45ae-9d44-74045726388e@o26g2000vbi.googlegroups.com>

Show all headers | View raw



"luser- -droog" <mijoryx@yahoo.com> wrote in message 
news:9528d930-4e45-45ae-9d44-74045726388e@o26g2000vbi.googlegroups.com...
> On Aug 25, 4:37 am, "NoHtmlMailsPlease" <UsePlainT...@dog.edu> wrote:
>> Is the rendering of 'text' which originates from `pdftops` written
>> one char at a time, or is it rendered one-row-of-pixel at a time
>> or what?
>
> The 1st-edition manual describes two basic device-rendering modes:
> framebuffer device or band-device. Some of the algorithms will be
> different for different modes, but they all use the Weiler-Atherton
> clipping algorithm. A screen-based renderer may choose to use
> dithering
> instead of halftone screens.
>
>> If the syntax is forth-like, does it also multilevel compose
>> compound <views/pictures> from a set/library of primitives/glyphs?
>
> Mu. Syntax just describes how the source-code "looks". It is not
> related
> to what the language "does".
>
> You might find a general overview like wikipedia.com/Postscript
> useful.
> Also the "blue book", Adobe's very nice tutorial is available free
> online.
>
OK, there's a LOT on line.
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>

This stuff looks like a canOworms which could consume a lot of time
if allowed to.

== Chris Glur
 

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