From 0a65c13e7eba055da901b678079b68fed2ed6286 Mon Sep 17 00:00:00 2001 From: Harry Lam Date: Thu, 14 Apr 2016 10:55:33 +0800 Subject: [PATCH] Change Japanese Font from msgothic_02.ttf to ms... gothic.ttc, Fix #3118 In Chinese, there is also a newer MingLiu called "PMingLiu", but it was embedded as a large text pack as ttc. (ttc is a collection file for TrueType Font) And, Windows has **bad** support on TTC, so changing into "msgothic.ttc" should fix the issue. --- src/localisation/language.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/localisation/language.cpp b/src/localisation/language.cpp index 9ce07e3f7a..5de1f473c9 100644 --- a/src/localisation/language.cpp +++ b/src/localisation/language.cpp @@ -48,10 +48,10 @@ enum { }; static TTFFontSetDescriptor TTFFontMSGothic = {{ - { "msgothic_02.ttf", "MS PGothic", 9, 1, 0, 15, nullptr }, - { "msgothic_02.ttf", "MS PGothic", 12, 1, 0, 17, nullptr }, - { "msgothic_02.ttf", "MS PGothic", 12, 1, 0, 17, nullptr }, - { "msgothic_02.ttf", "MS PGothic", 13, 1, 0, 20, nullptr }, + { "msgothic.ttc", "MS PGothic", 9, 1, 0, 15, nullptr }, + { "msgothic.ttc", "MS PGothic", 12, 1, 0, 17, nullptr }, + { "msgothic.ttc", "MS PGothic", 12, 1, 0, 17, nullptr }, + { "msgothic.ttc", "MS PGothic", 13, 1, 0, 20, nullptr }, }}; static TTFFontSetDescriptor TTFFontMingLiu = {{