diff options
Diffstat (limited to 'core/fxge/android/cfpf_skiafontmgr.cpp')
-rw-r--r-- | core/fxge/android/cfpf_skiafontmgr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fxge/android/cfpf_skiafontmgr.cpp b/core/fxge/android/cfpf_skiafontmgr.cpp index d44d7d56d2..0b49f6283c 100644 --- a/core/fxge/android/cfpf_skiafontmgr.cpp +++ b/core/fxge/android/cfpf_skiafontmgr.cpp @@ -187,9 +187,7 @@ uint32_t FPF_SKIAGetFamilyHash(const ByteStringView& bsFamily, } bool FPF_SkiaIsCJK(uint8_t uCharset) { - return (uCharset == FX_CHARSET_ChineseSimplified) || - (uCharset == FX_CHARSET_ChineseTraditional) || - (uCharset == FX_CHARSET_Hangul) || (uCharset == FX_CHARSET_ShiftJIS); + return FX_CharSetIsCJK(uCharset); } bool FPF_SkiaMaybeSymbol(const ByteStringView& bsFacename) { |