diff --git a/app/Models/Account.php b/app/Models/Account.php index b729f46ffb50..5662cad9a510 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -1050,7 +1050,13 @@ class Account extends Eloquent public function hasLargeFont() { - return stripos($this->getBodyFontName(), 'chinese') || stripos($this->getHeaderFontName(), 'chinese'); + foreach (['chinese', 'japanese'] as $language) { + if (stripos($this->getBodyFontName(), $language) || stripos($this->getHeaderFontName(), $language)) { + return true; + } + } + + return false; } public function getFontsUrl($protocol = ''){