我使用希伯来语字样" Drogolin"并在Processing中创建文本
虽然有些字体可以正常使用,但Drogolin会改为创建▯字符。
这是我使用的代码:
hebFont = createFont("Drogolin", 32);
textFont(hebFont);
fill(0);
void draw() {
text("המשכן", 0, 40);
}
任何想法?
答案 0 :(得分:0)
Your code似乎对我有用。 您可以尝试从文件中加载字体(download the font)并放入草图数据文件夹中。希望有所帮助。
hebFont = createFont("Drogolin.ttf", 30);