From 43dd2b51a5060e23e6c07bbd6fa5f6227ed14f1f Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 14 Oct 2018 10:40:07 +0800 Subject: *update --- test/05Font/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/05Font/main.cpp') 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); -- cgit v1.1-26-g67d0