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_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   trying out type
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: trying out type  (Read 224 times)
Regina


trying out type
« on: Sep 1st, 2003, 8:08am »

I'm trying to figure out the best way to do simple typing. When I run the example (included in the examples folder) called "Words", it works fine, but when I try to copy the technique, and even when I copy the text and paste it into a new sketch, it doesn't work. It cites a "NullPointerException" regarding the line about midway down that says, "setFont(fontA, 44);" ...I'm working with Proce55ing-0056 on a Mac OS 9.0.2  If anyone out there knows of a better way to use type than that which is stated in the "Words" example, I'd like to hear it as well. Thanks.
 
arielm

WWW
Re: trying out type
« Reply #1 on: Sep 1st, 2003, 9:46am »

whenever you start a new sketch and want to use fonts, you have to be sure that the sketch's folder has a "data" sub-folder with the required font(s) copied in.
 

Ariel Malka | www.chronotext.org
Regina


Re: trying out type
« Reply #2 on: Sep 1st, 2003, 10:09pm »

It works! Thanks Ariel.
 
-Regina
 
Pages: 1 

« Previous topic | Next topic »