PDF Generating Tool Support Forum

HOME   Login   Register    Search




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are OFF
Disable BBCode
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the Board Administrator.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - CJK Bold/Italic Rendering Issue
Post subject:  CJK Bold/Italic Rendering Issue
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.
    Post Posted: 06 Jul 2020, 15:51
 


cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share