-
Notifications
You must be signed in to change notification settings - Fork 45
Related to Fonts
Ks Tan edited this page Nov 7, 2018
·
14 revisions
PHPJasperxml Supported font listed in phpjasperxml/tcpdf/fonts
- All font in report will convert to small letter and remove the blank space to match the font name
- 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 |
- 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