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


Groups > comp.lang.postscript > #360

Re: How2 wrap 8 text-lines in *.ps?

From rodd@panix.com (Rod Dorman)
Newsgroups comp.lang.postscript, adobe.postscript.programming
Subject Re: How2 wrap 8 text-lines in *.ps?
Date 2011-09-27 18:44 +0000
Organization Public Access Networks Corp.
Message-ID <j5t5iv$lb7$1@reader1.panix.com> (permalink)
References <j5ifr2$m3c$2@dont-email.me> <j5ildf$cgu$1@reader1.panix.com> <j5scc5$pak$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


In article <j5scc5$pak$1@dont-email.me>,
NoHtmlMailsPlease <UsePlainText@dog.edu> wrote:
>"Rod Dorman" <rodd@panix.com> 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 <newLine> could be programmed as:
>/Nline <decr y-coordinate per font size>
>  <move abs x-coordinate to line-start> 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

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


Thread

How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-23 15:11 +0200
  Re: How2 wrap 8 text-lines in *.ps? rodd@panix.com (Rod Dorman) - 2011-09-23 19:07 +0000
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 13:10 +0200
      Re: How2 wrap 8 text-lines in *.ps? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2011-09-27 12:35 -0400
      Re: How2 wrap 8 text-lines in *.ps? rodd@panix.com (Rod Dorman) - 2011-09-27 18:44 +0000
        Re (2): How2 wrap 8 text-lines in *.ps? no.top.post@gmail.com - 2011-09-29 09:58 +0000
          Re: Re (2): How2 wrap 8 text-lines in *.ps? bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-09-29 07:35 -0500
  Re: How2 wrap 8 text-lines in *.ps? Ross Presser <rpresser@gmail.com> - 2011-09-24 00:58 -0700
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 17:29 +0200
  Re: How2 wrap 8 text-lines in *.ps? luser- -droog <mijoryx@yahoo.com> - 2011-09-24 01:03 -0700
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 13:28 +0200
  Re: How2 wrap 8 text-lines in *.ps? RedGrittyBrick <RedGrittyBrick@SpamWeary.invalid> - 2012-02-19 13:46 +0000

csiph-web