dcsimg
No default Font found : at least one .pjaf font must be loaded
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   hema_R
Posted On:   Monday, July 30, 2001 05:11 AM

I am trying to create an image using PJAGraphics & PJAImage.

when i try to use drawString() method
i am getting the error



Exception in thread "main" java.awt.AWTError: no default font found : at least one .pjaf font must be loaded

at com.eteks.awt.PJAGraphics.checkFontLoading(PJAGraphics )

at com.eteks.awt.PJAGraphics.drawString(PJAGraphics)



Hema

Re: No default Font found : at least one .pjaf font must be loaded

Posted By:   Anonymous  
Posted On:   Monday, July 30, 2001 02:27 PM

That message it's because the system cannot find a default font or any .pjaf files.

What JDK ae you using? I'm using JDK1.3 and after copying the font.properties file in the right directory, everything worked, and it's still working on all our Linux boxes.
About | Sitemap | Contact