Commit 8b04c7b1 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

read japanese font (#2392)

parent bf1ea010
......@@ -93,6 +93,9 @@ bool Game::Initialize() {
textFont = irr::gui::CGUITTFont::createTTFont(env, gameConf.textfont, gameConf.textfontsize);
if(!textFont) {
const wchar_t* textFontPaths[] = {
L"C:/Windows/Fonts/YuGothM.ttc",
L"C:/Windows/Fonts/meiryo.ttc",
L"C:/Windows/Fonts/msgothic.ttc",
L"C:/Windows/Fonts/msyh.ttc",
L"C:/Windows/Fonts/msyh.ttf",
L"C:/Windows/Fonts/simsun.ttc",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment