Why “direct” PostScript makes sense
anastigmatix.net
anastigmatix.net
Pie menu widget: http://www.donhopkins.com/home/code/piemenu.ps.txt
PizzaTool graphical Pizza ordering gui: http://www.donhopkins.com/home/code/pizzatool.ps.txt Illustration: http://www.donhopkins.com/home/catalog/images/pizzatool.gif
VT100 terminal emulator: http://www.donhopkins.com/home/code/newterm.ps.txt
UniPress (Gosling) Emacs display driver: http://www.donhopkins.com/home/code/emacs.ps.txt
Metacircular PostScript interpreter: http://www.donhopkins.com/home/code/ps.ps.txt
PSIBER Space Deck (visual PostScript debugger and programming environment): http://www.donhopkins.com/home/code/litecyber.ps.txt More about that: http://www.donhopkins.com/drupal/node/97
A lunar lander game James Gosling wrote in 1988: http://www.donhopkins.com/home/code/lander.ps.txt
HeapSort by Owen Densmore: http://www.donhopkins.com/home/code/heapsort.ps.txt
QuickSort by Don Woods (an incredibly twisty maze of stack manipulation, by the Adventure dude): http://www.donhopkins.com/home/code/quicksort.ps.txt
BubbleSort by Bobo Leffler (he was afraid this might come back to haunt him): http://www.donhopkins.com/home/code/bubblesort.ps.txt
I heard from a guy in NZ a while after that he'd used it to typeset a book of banjo music - it was the only software he could find that supported anything other than 6 strings.
Since then PDF has become more sophisticated, handling metadata, tagging, and embedding media. It's been a long time since Postscript has been "the universal language for graphical and printed work".
A shame, since Postscript is fun.
Not exactly. A PDF is generated from PostScript, as noted in the article:
"A PDF file is a static representation of the result of executing the PostScript file on a single occasion."
A PDF is a more compact version of a PostScript file - we could call it compiled PostScript, to use a term many on this site are familiar with. Just as a compiler has many output options, distilling PostScript can result in many different file sizes and levels of quality. (Check out the Distiller output settings.)
The main difference between the two is that PDF is a declarative definition of the page whereas PostScript is a turing complete language. You can write a PostScript ray-tracer which will execute on the printer itself something which would never be possible in PDF. On the flip side, PDF is far more efficient as an electronic document format.
That's actually not true. There's LOTS of PS files in workflows in commercial printing -- I know because I write software for the print industry.
Its true PDF is often replacing the PS file but these are NOT without their own set of problems.
The Blue and Green books are a must for a new Postscript programmer http://partners.adobe.com/public/developer/ps/sdk/index_arch...
http://opencircuitdesign.com/xcircuit/ : "XCircuit regards circuits as inherently hierarchical, and writes both hierarchical PostScript output and hierarchical SPICE netlists."
It's really bugging me that my kindle is incapable of running Knuth's algorithm, preferring instead to avoid hyphenation entirely, serving up an ugly hodgepodge of justified and ragged-right text. C'mon guys, this is old stuff...
Any open hardware with e-ink?
PostScript is really tractable as a language to work directly in. Basic line-drawing stuff is almost as simple as the Logo I played with as a kid.
But yeah, sadly there's no readily available system nowadays with true Display PostScript. Not very likely that Oracle will release the NeWS sources, and OS X switched to DirectPDF.
Have to check GNUStep…
The 3B2 typesetting system does write display PS to the screen, though. Even the old DOS version.
Time to move on guys. Any newer ideas?
Its a very cool language -- Forth derived.
And I made heavy use of Jamie Zawinski's audio-tape.ps [1] back then. Never got through Thinking in PostScript [2] completely, though…
The end result is usually a PDF file.
Still I've never learned to embed external fonts in my scripts, does anybody have some straightforward text about that part? As far as I know I'm legally 100% clean if I manage to use any font as long as I only distribute the PDF at the end.
And it totally is a murky legal situation, many fonts don't allow embedding into a pdf, and you may not use almost all fonts in any way at all if you do not have a valid license. Fonts in the abstract may or may not be copyrightable depending on where you live, but the actual pfa-code you put in your file and the representation generated from that when converting to PDF definitely are.
T1Utils is the package and can be found from your repository or synaptic. There's also a DOS version and it comes with its c code.