diff --git a/fonts/NotoSansSC.ttf b/fonts/NotoSansSC.ttf new file mode 100644 index 0000000..1c6043f Binary files /dev/null and b/fonts/NotoSansSC.ttf differ diff --git a/fonts/NotoSansTC.ttf b/fonts/NotoSansTC.ttf deleted file mode 100644 index a785aae..0000000 Binary files a/fonts/NotoSansTC.ttf and /dev/null differ diff --git a/render_image.go b/render_image.go index ba0e173..185319d 100644 --- a/render_image.go +++ b/render_image.go @@ -260,6 +260,11 @@ func getLanguage(text string) (*truetype.Font, bool, error) { fontName string breakWords bool }{ + { + unicode.Han, + "fonts/NotoSansSC.ttf", + true, + }, { unicode.Katakana, "fonts/NotoSansJP.ttf", @@ -270,11 +275,6 @@ func getLanguage(text string) (*truetype.Font, bool, error) { "fonts/NotoSansJP.ttf", true, }, - { - unicode.Han, - "fonts/NotoSansTC.ttf", - true, - }, { unicode.Hangul, "fonts/NotoSansKR.ttf",