XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

OverrideFont does not work with Unicode font names

Open KabanFriends opened this issue 4 years ago • 3 comments

I am trying to make a mod that translates an English to Japanese, and I want to replace the font with Japanese one. But when I try to display a font that has name with Japanese characters, it doesn't work.

The font name I've been trying to use: JFドットK14

KabanFriends avatar Jun 05 '21 09:06 KabanFriends

When using override font and the font is not correctly selected, the available fonts are usually printed out to the log/console. Is this font printed out?

gravydevsupreme avatar Jun 06 '21 14:06 gravydevsupreme

How do I enable console?

KabanFriends avatar Jun 11 '21 10:06 KabanFriends

You can enable console through the config of this plugin, but I'd recommend using BepInEx instead, because it's implementation it's console integration is much better. Can also enable showing JP characters in that if your OS is not configured to show non-ASCII characters in a console.

gravydevsupreme avatar Jun 16 '21 18:06 gravydevsupreme