Hello I am a newbie in Processing, how can I input Japanese font in my sketch?

I am trying to execute a program where it shows japanese characters in output. However, when I am coding and copy paste the japanese text, it just shows BOXES. I enabled the complex text input in preferences too but it is not helping me either. Can someone please help me through?

CODE:-

PImage[] birds = new PImage[22];
PFont title;

void setup(){

  size(720,540);
  for (int i = 1; i < birds.length; i ++)
   {
    birds[i] = loadImage( i +".jpg");
   }

   frameRate(5);
   title=loadFont("07LightNovelPOP-48.vlw");
}

void draw(){

  int index=int(random(1,22));
  image(birds[index],0,0);
  textFont(title);
  textAlign(CENTER, CENTER);
  textSize(88);
  text("何何何何何何何何", 320, 180);


}

ERROR:- No glyph found for the 何 (\u4F55) character

Answers

Sign In or Register to comment.