aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-09-20 08:32:18 +0800
committerchai <chaifix@163.com>2018-09-20 08:32:18 +0800
commit6e81b7ddf8c0b378e983c1d2a1fb6f4b43d70d9a (patch)
tree5883254d23f5d2a53eb726e76545f282d8e9f688 /test
parentb6f5c98a536186eb26c81d9fecdbbbc9860be93a (diff)
*update
Diffstat (limited to 'test')
-rw-r--r--test/05Font/main.cpp4
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);