mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
Added Japaense as a 'large font'
This commit is contained in:
parent
4a5cb794d1
commit
44344e7676
@ -1050,7 +1050,13 @@ class Account extends Eloquent
|
|||||||
|
|
||||||
public function hasLargeFont()
|
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 = ''){
|
public function getFontsUrl($protocol = ''){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user