aboutsummaryrefslogtreecommitdiff
path: root/test/05Font/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/05Font/main.cpp')
-rw-r--r--test/05Font/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/05Font/main.cpp b/test/05Font/main.cpp
index 6eebe04..9d44f2f 100644
--- a/test/05Font/main.cpp
+++ b/test/05Font/main.cpp
@@ -68,7 +68,7 @@ Color frag(Color col, Texture tex, Vertex v)
font = TTF::createTTF(data, 15);
const char* str = u8R"(源氏物语げんじものがたり)";
int l = strlen(str);
- page = font->typeset(unicode::Text(unicode::Encode::UTF8, str, strlen(str)), 15, 0);
+ page = font->typeset(Text(Encode::UTF8, str, strlen(str)), 15, 0);
delete data;
//canvas = Canvas::createCanvas(100, 100);
//page = font->typeset("こんにちは世界!", 120, 20);