From 3dbc268a76bb5d714751a80b5a8211510876162b Mon Sep 17 00:00:00 2001 From: YuWeiWu Date: Thu, 2 Apr 2020 18:51:51 +0800 Subject: [PATCH] Add font that is able to display Chinese/Japanese --- assets/voxygen/font/Zpix.ttf | 3 +++ assets/voxygen/i18n/zh_TW.ron | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 assets/voxygen/font/Zpix.ttf diff --git a/assets/voxygen/font/Zpix.ttf b/assets/voxygen/font/Zpix.ttf new file mode 100644 index 0000000000..1925b12489 --- /dev/null +++ b/assets/voxygen/font/Zpix.ttf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:745e26436dd02a363d26750eba94abbc77048353e6d53f5dc8a90693cb375495 +size 4433844 diff --git a/assets/voxygen/i18n/zh_TW.ron b/assets/voxygen/i18n/zh_TW.ron index 17b0f9ba24..821f0e2eba 100644 --- a/assets/voxygen/i18n/zh_TW.ron +++ b/assets/voxygen/i18n/zh_TW.ron @@ -7,23 +7,23 @@ VoxygenLocalization( convert_utf8_to_ascii: false, fonts: { "opensans": Font ( - asset_key: "voxygen.font.OpenSans-Regular", + asset_key: "voxygen.font.Zpix", scale_ratio: 1.0, ), "metamorph": Font ( - asset_key: "voxygen.font.Metamorphous-Regular", + asset_key: "voxygen.font.Zpix", scale_ratio: 1.0, ), "alkhemi": Font ( - asset_key: "voxygen.font.Alkhemikal", + asset_key: "voxygen.font.Zpix", scale_ratio: 1.0, ), "wizard": Font ( - asset_key: "voxygen.font.wizard", + asset_key: "voxygen.font.Zpix", scale_ratio: 1.0, ), "cyri": Font ( - asset_key: "voxygen.font.haxrcorp_4089_cyrillic_altgr_extended", + asset_key: "voxygen.font.Zpix", scale_ratio: 0.9, ), },