diff options
Diffstat (limited to 'test/05Font/main.cpp')
-rw-r--r-- | test/05Font/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/05Font/main.cpp b/test/05Font/main.cpp index da65c2e..51dc628 100644 --- a/test/05Font/main.cpp +++ b/test/05Font/main.cpp @@ -25,7 +25,7 @@ Color effect(Color col, Texture tex, vec2 uv, vec2 screen) Filesystem* fs = Filesystem::get(); fs->mount("../Debug"); Buffer buffer; - fs->read("font.ttf", &buffer); + fs->read("font2.ttf", &buffer); data = FontData::createFontData((const unsigned char*)buffer.data, buffer.size); font = Font::createFont(data, 14); //canvas = Canvas::createCanvas(100, 100); @@ -75,7 +75,7 @@ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 》开始在日本东京电视台播出。2004年,漫画进而改编成电影。2006年,漩涡鸣人入选 美国《新闻周刊》日文版于10月18日发行的特集中选出的“全世界最受尊敬的100位日本 人”。[2] -)", 10, 10 + 15 * 2, 15, 0); +)", 10, 10 + 15 * 2, 17, 0); //font->print(u8"你好世界!", 10, 10 + 15*3); //font->render(page); glColor4f(1, 1, 1, 1); |