agrippa1994 / DX9-Overlay-API

Overlay API for DirectX 9 based games.
MIT License
127 stars 26 forks source link

Can't show chinese in DX9 game #30

Open goodman3654 opened 7 years ago

goodman3654 commented 7 years ago

Hi

This is awesome project. I tried in some games and it works.

But it can't show chinese in DX9 game.

Did I miss something?

by the way, I tried to change font to "新細明體" (which used in chinese environment) change TextCreate("Arial", 12, false, false, 200, 200, 0xFF00FFFF, "Hello world", true, true) to TextCreate("新細明體", 12, false, false, 200, 200, 0xFF00FFFF, "Hello world中文", true, true))

It only shows "Hello world", "中文" is missing.

ghost commented 7 years ago

The implementation can only display ASCII. Without much effort, only ANSI is possible. After that the AHK-Wrapper etc. has to be changed to UTF-16, but I don't know if AHK even supports UTF-16.