feat: add japanese system fonts

This commit is contained in:
Anna
2022-02-05 19:36:56 -05:00
parent 2ef42aa211
commit b8d4f67f27
3 changed files with 38 additions and 25 deletions
+2 -4
View File
@@ -168,11 +168,9 @@ internal sealed class PluginUi : IDisposable {
null
);
}
} else {
jpFontData = Fonts.GetFont(this.Plugin.Config.JapaneseFont, false);
}
// else {
// jpFontData = Fonts.GetFont(this.Plugin.Config.JapaneseFont, false, CharacterSet.SHIFTJIS_CHARSET);
// PluginLog.Log($"data.Regular.Length: {jpFontData?.Regular.Length}");
// }
if (jpFontData == null) {
this.Plugin.Config.JapaneseFont = Fonts.JapaneseFonts[0].Item1;