在处理中使用希伯来字体

时间:2017-11-22 09:32:34

标签: fonts processing hebrew

我使用希伯来语字样" Drogolin"并在Processing中创建文本

虽然有些字体可以正常使用,但Drogolin会改为创建▯字符。

这是我使用的代码:

  hebFont = createFont("Drogolin", 32);
  textFont(hebFont);
  fill(0);

void draw() {
      text("המשכן", 0, 40);
}

任何想法?

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

Your code似乎对我有用。 您可以尝试从文件中加载字体(download the font)并放入草图数据文件夹中。希望有所帮助。

hebFont = createFont("Drogolin.ttf", 30);