We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Geting MakeFont and OpenGL to work
Page Index Toggle Pages: 1
Geting MakeFont and OpenGL to work (Read 531 times)
Geting MakeFont and OpenGL to work
Jan 21st, 2008, 1:44am
 
I'm new to this (24 hours). If this request is in the wrong place, please forgive me.

Though I am new Processing I have been using Java for five or six years and programming for almost four decades. Consequently, when I downloaded Processing, I grabbed the short version. I didn't bother with Java as I already have Java 6 on my machine. Only after I had problems did I see the note that Java 5 breaks some things in Processing. ::sigh::

I downloaded the larger version and copped the Java subdirectory into the Processing directory I had already created. As there no installation instructions or readme I figure I was done. The font Creator did not work before or after this, but at least now it doesn't hang Processing.

What can I do to resolve this?

java.lang.ArithmeticException: / by zero
 at ...
 at javax.swing.JComponent.paintComponent(Unknown Source)
 at processing.app.tools.CreateFont$2.paintComponent(CreateFont.java:152)
 at ...
Re: Geting MakeFont and OpenGL to work
Reply #1 - Jan 22nd, 2008, 8:40am
 
Seems like a bug. You're getting this error from the create font menu option or the createFont method?
Re: Geting MakeFont and OpenGL to work
Reply #2 - Jan 23rd, 2008, 1:41am
 
The problem occurs when using the Tools menu item "Create Font...". I have successfully used the createFont method to accessed installed fonts.
Page Index Toggle Pages: 1