useAdobeCJK
(mPDF ≥ 5.0)
Description
boolean useAdobeCJK
When true
, forces mPDF to use the free Adobe CJK Asian fonts, thus keeping the PDF file
size to a minimum. This affects text defines using the CSS $lang property, which includes
the use of AutoFont. Thus a CSS stylesheet defining lang="ja"
will be substituted by the Adobe Japanes font. (This
will not prevent the use of other CJK fonts if specified by font-family.)
The precise effect it has on different languages/fonts is specified in the \Mpdf\LangToFont
class.
Note: This value can only be set as a configuration variable
To change the value at runtime, you must use $mpdf = new \Mpdf\Mpdf(['mode' => '-aCJK']);
to set as
false
or $mpdf = new \Mpdf\Mpdf(['mode' => '+aCJK']);
to set as
true
Values
$useAdobeCJK = true
|false
Values
true
: Use the free Adobe CJK Asian fontsfalse
: Use normal embedded fonts
Default: true