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 & HelpOpenGL and 3D Libraries › asian fonts in P3d or OPENGL
Page Index Toggle Pages: 1
asian fonts in P3d or OPENGL (Read 619 times)
asian fonts in P3d or OPENGL
Oct 31st, 2009, 1:45am
 
I would like to use Korean fonts in P3D or OPENGL.  Is this possible?  The code below does not work for me (but it does work with Java2d).

import processing.opengl.*;

void setup() {
 size(640, 360, OPENGL);  // this only shows HI
//  size(640, 360, P3D);   // this only shows HI
//  size(640, 360);  // this works
 PFont fontA = createFont("FFScala",20);
 textAlign(CENTER);
 textFont(fontA,20);

}

void draw(){
 background(255);
 fill(0);
 text("HI",width/2,height/4);
 text("조선말",width/2,height/2);
}
Page Index Toggle Pages: 1