In article <j61ffs$33a$
1...@dont-email.me>, <
no.to...@gmail.com> wrote:
>In article <j5t5iv$lb7$
1...@reader1.panix.com>,
ro...@panix.com (Rod Dorman) wrote:
>
>> In article <j5scc5$pak$
1...@dont-email.me>,
>> NoHtmlMailsPlease <
UsePla...@dog.edu> wrote:
>> >"Rod Dorman" <
ro...@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?
>>
>This thread has become a good example of what happens when
>the OP is truncated for economy.
>The aim is simply convert plain-text to pdf, for adobe's text-to-speech;
>but to control the position of the <page breaks>.
>Therefore the <font> is irrelevant.
>So AFAICS the algorith is SIMPLY:---
>SetConvenientFont
>SetConvenientXYstartOfPage
><WriteLineOfAcii>
><NextLine>perConvenientFont
And you were told "PostScript _doesn't_ work that way".
A concept you *still* fail to grasp.
The fact remains that "You don't know what you don't know" and refuse to
listen to any education on the matter, because you "know" you don't need
it.
At a casual glance -- all _I_ am willing to spend on your idiocy -- there
are at least FIVE critical omissions and errors in your algorith[sic].
You have been proven to be 'ineducable', so I won't bother to itemize the
flaws -- it would be a waste of time.
>With the Postscript-priests pretending that their craft is magic,
Nobody claimed it it 'magic', What it is, is a _programming_language_,
that provides a set of _basic_ functionality for the 'general case' of
page layout. *WITHOUT* 'assumptions' about the nature of the page being
laid out.
your '<nextline>' function DOES NOT EXIST -- in the programming language,
that is (although you could _write_ something that doest it) -- *because*
there are an incredible number of 'assumptions' in the behavior _you_
desire and that _cannot_ be made automatically.
Bluntly, _no_ program that allows a user to select, and selectively
apply, different fonts for different parts of a document can use your
simplistic 'newline' logic. In the _special_case_ of an entire document
set in a SINGLE face, size, weight, leading, and orientation, it would
be possible, but _recognizing_ that special case and outputting the
'simpler' code adds un-necessary complexity to the program _creating_
the PostScript. The algorithms in _that_ software to handle the 'general
case' _also_ work on the 'simple' case, so building in "extra" smarts
for the special case is a waste of effort.
>I was bamboozled into over looking the obvious solution of using
>an editor which gives pdf output, and just manually syncronising
>page-breaks with para-breaks.
Chris Glur, as is usual for you, YOU failed to state your 'problem'
properly. You DID get answers to 'what you asked'.
>So now the problem has evolve to
>'what format does <the linux editor> translate the
>original text to pdf, so that it is viewable OK but NOT
>translatable back to the original ascii?
Not a PostScript issue. Ask in a Linux-specific forum, one relevant
to *THAT* editor.
>Which asks "what pdf formats are there that would
>give a ascii to pdf, which didn't translate back to the
>original ascii" ?
Virtually -any- Postscript _can_ have that result. For any of
a _dozen_or_more_ reasons.
>And even better: has anyone done direct
><text to speech> on Win7?
Not a postscript issue.
Therefore, WRONG forum.
>
>== TIA
>