Hi @pd4ml,
We are using pd4ml4.0.8 jar and trying to render CJK fonts in bold style. For text which does not have <font face="some_font"> tag in HTML, the text is rendering as blank spaces for them. Below is the observation and HTML Code:
HTML code:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8">
</head>
<body>
Simplified - Chinese - <font face="SimSun">人人生而自由,在尊<b>严和权利</b>上一律平等。</font><br>
Traditional - Chinese - 人人生而自由,在尊<b>嚴和權利</b>上一律平等。
</body>
</html>
Generated pdf:
Simplified - Chinese - 人人生而自由,在尊
严和权利上一律平等。
Traditional - Chinese - 人人生而自由,在尊(blanks/spaces here)上一律平等。
HTML Code (without bold tags):
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8">
</head>
<body>
Simplified - Chinese - 人人生而自由,在尊严和权利上一律平等。<br>
Traditional - Chinese - 人人生而自由,在尊嚴和權利上一律平等。
</body>
</html>
Generated pdf:
Simplified - Chinese - 人人生而自由,在尊严和权利上一律平等。
Traditional - Chinese - 人人生而自由,在尊嚴和權利上一律平等。
Please add any suggestions/fix.
Thanks,
Aman.