Skip to content
Ks Tan edited this page Nov 7, 2018 · 14 revisions

PHPJasperxml Supported font listed in phpjasperxml/tcpdf/fonts

  1. All font in report will convert to small letter and remove the blank space to match the font name
  2. The engine will use Font to render the text, however, if the engine notice some asian font exists in utf text value, it will switch to another font as below table:
Language Condition Swich To
Chinese preg_match("/\p{Han}+/u", $utfstring) cid0cs
Japanese preg_match("/\p{Katakana}+/u", $utfstring) cid0jp
Korean preg_match("/\p{Hangul}+/u", $utfstring) cid0kr
  1. To avoid rendering engine swap the font, at Jasper Report Studio, Select text field, properties, Advanced, PDF Font Name, define desire font. Once define here the engine will not convert the to others font
Clone this wiki locally