Closed KagurazakaNyaa closed 1 year ago
The default font arial.ttf used by the mod cannot display CJK characters correctly. Can the font be configured to support the display of CJK characters? For example, we can add a configuration FontName, string type, the default value is arial.ttf, and then replace the hard code below with this configuration variable. https://github.com/akarnokd/ThePlanetCrafterMods/blob/fd2f247fa1723460c30b079fe925d8c9be596b6d/FeatCommandConsole/Plugin.cs#L118-L126
arial.ttf
FontName
fontName = Config.Bind("General", "FontName", "arial.ttf", "The font name in the console"); if (fp.ToLower().Contains(fontName)) //L120
Sure. Will post an update shortly.
Done in 1.0.0.11.
The default font
arial.ttf
used by the mod cannot display CJK characters correctly. Can the font be configured to support the display of CJK characters? For example, we can add a configurationFontName
, string type, the default value isarial.ttf
, and then replace the hard code below with this configuration variable. https://github.com/akarnokd/ThePlanetCrafterMods/blob/fd2f247fa1723460c30b079fe925d8c9be596b6d/FeatCommandConsole/Plugin.cs#L118-L126