FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   SimplePostscript and Type
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: SimplePostscript and Type  (Read 585 times)
bren

WWW Email
SimplePostscript and Type
« on: Jun 9th, 2004, 12:58pm »

Just been trying the brilliant SimplePostscript with some type. I'm getting a problem getting the ps file to find the correct font when it rastererizes. Without the font it just rasterizes with a system font. Here's an example font block from the postscript:
 
0.0 0.0 0.0 setrgbcolor
/Bodoni_SvtyTwo_ITC_TT_Book findfont 1.731 scalefont setfont
184.362 42.781 moveto
(T) show
 
I can see that it's trying to find that font from the root, but the only font with that name is in the Processing folder as a vlw, which I'm sure won't work anyway?
 
Any ideas anyone?
 
bren

WWW Email
Re: SimplePostscript and Type
« Reply #1 on: Jun 9th, 2004, 1:04pm »

I've just tried changing the font name in BBedit to one I know exists in my Library but still no joy!
 
bren

WWW Email
Re: SimplePostscript and Type
« Reply #2 on: Jun 9th, 2004, 1:11pm »

Bit further along. This time did this:
/Library/Fonts/HelveticaNeue findfont 1.731 scalefont setfont  
 
And it worked fine. Guess I need to have the font I want actually installed in the Library.
 
bren

WWW Email
Re: SimplePostscript and Type
« Reply #3 on: Jun 9th, 2004, 1:18pm »

so my next question is how do I convert vlw to dfont (at a Mac at least)?
 
amoeba

WWW
Re: SimplePostscript and Type
« Reply #4 on: Jun 9th, 2004, 4:22pm »

Hi Bren, glad you're liking SimplePostscript. Seems you're doing a heroic job of trial and error with the font issue. PostScript is erratic about font names, and it can be hard to "guess" the proper PostScript name from what they're called in Illustrator etc.
 
A tip is to make an Illustrator document with dummy text in the fonts you want. Save it in EPS format (or print to a PS file), then open the file up with a text editor and look for the font names. The names you find should be valid PostScript names. Clunky but it should work.  
 
Font namespaces have always been an area of much inconsistency, one of many reasons why the print industry has welcomed PDF as a prepress alternative.
 
Let me know if you do something interesting.
 

marius watz // amoeba
http://processing.unlekker.net/
bren

WWW Email
Re: SimplePostscript and Type
« Reply #5 on: Jun 9th, 2004, 4:49pm »

ooh - that sounds like a great idea. Gimme a sec to try it out...
 
Thanks.
 
bren

WWW Email
Re: SimplePostscript and Type
« Reply #6 on: Jun 9th, 2004, 5:45pm »

didn't seem to work. It doesn't seem to find the fonts, even with the font name copied out of an Illustrator EPS. The thing is I can't locate the ps font on my Mac - I'm sure if I could it would then be a simple matter of putting the correct path in?
 
hmmm...
 
amoeba

WWW
Re: SimplePostscript and Type
« Reply #7 on: Jun 10th, 2004, 2:04am »

Uh-oh, sounds like more PostScript trouble. Using the correct path shouldn't be an issue, since it's more about what fonts are "registered" for PostScript output than about what fonts are on your system. It's been a while since I've used MacOS X, tho, so I can't advice on the specifics of that system. Let me know what you find out for future reference...
 

marius watz // amoeba
http://processing.unlekker.net/
Pages: 1 

« Previous topic | Next topic »