Description:
The PostScript Page Description Language.
|
|
|
Displaying text in "uninstalled" font?
|
| |
Dear all,
If I take the following postscript-file:
%!PS-Adobe-3.0
/Arial findfont
15 scalefont
setfont
72 200 moveto
(text) show
showpage
then it nicely displays the "text" in Arial, if opening in Adobe Illustrator CS6 Tryout.
But I want it to display in Myriad Pro, so I should change the findfont-command:... more »
|
|
THRINAXODON PUNCHES OBAMA WITH HIS LASER GUN.
|
| |
OBAMA WAS RUNNING AFTER THRINAXODON, WAS DRUNK AND DISORDERLY, FOR
FUCKING ON IRC. OBAMA CAME REALLY, CLOSE, BUT THRINAXODON JUMPED, AND
SHITTED ON OBAMA'S HEAD, AND HIT HIM IN THE FACE, WITH HIS LASER GUN.
OBAMA FINALLY DIED. EMAIL biolord9@@gmail.com TO FIND OUT HOW.
============================== ============================== ================... more »
|
|
Throwing a custom error
|
| |
Hi,
In Barcode Writer in Pure PostScript (BWIPP) it is possible for the user to provide invalid input data. At present we do not provide any useful form of input validation or error reporting and we simply allow the code to trip up and bomb out in meaningless ways on invalid data.
To provide a somewhat uniform approach to handling invalid user input I am investigating whether the PS code could raise a custom error and terminate for each circumstance (e.g. /bwipp.badCheckDigit or /bwipp.invalidCharacter, etc) that can be communicated to the user using whatever ordinary PS error handling is available in that environment.... more »
|
|
xpost3 current challenges
|
| |
I've got 2 trains going at the same time here, and kinda stalled on both. Track 1 is finishing up this postscript translation of the xpost2 scanner. It's running into issues with building procedures. And I've really painted myself into a corner with lots of code and virtually no comments. I suppose the obvious next step is to print it out and re-type it (fixing the uglies as they arise).... more »
|
|
PS-viewing Browser plugin for Windows?
|
| |
Subject line pretty much says it all: I'm seeking a browser plugin (for FF,
or Safari or Opera or IE 7-8-9, under Windows (XP, Vista, 7)) to render .ps
files. Google, alas, steers me only to Linux or MacOS .ps browser services,
not Windows ones.
Thanks for all pointers, even dead ends :-) . Cheers, -- tlvp... more »
|
|
merging colors..
|
| |
This is my first "fancy" program, three color-shaded circles.
It would be nice to have the colors appropriately combine/add in the overlap regions.
Is there a nice way to do that?
%! % three.ps
/inch {72 mul} def % 72 pixels to the inch
/N 500 def % steps... more »
|
|
inside-testing operators for ray-bezier-surface intersection.
|
| |
I've been struggling with these Bezier surfaces for some time now, and I think there may be a novel shortcut for find the intersection point.
First project the surface onto a plane whose normal coincides with the ray.
Iterate through a single parametrization, drawing the initial boundary curve and the moving curve connected by lineto in a single path.... more »
|
|
ps scanner - finite state machines
|
| |
Rough draft translation of xpost's scanner into postscript. I'm thinking that I can "compile" this into the systemdict data structure to bootstrap the next interpreter. Or extend it into that golf-library scanner I was talking about.
%!
/digit (0123456789) def
/alpha (abcdefghijklmnopqrstuvwxyz\... more »
|
|
Code copied from Bluebook and Greenbook barfs in GSview, why?
|
| |
I copied the last part of the complaint into the .PS file for documentation.
**
%!
%% TRY3.PS COPIED FROM bluebook page 46
%%
%% GSview barfs:
%%
%% showpage
%%
%% --- End offending input ---
%% file offset = 0
%% gsapi_run_string_continue returns -101
%%
%%EndComments
/inch (72 mul) def % 72 pixels per inch... more »
|
|
|