PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Issue rendering CJK Bold/Italic font styles
   PostPosted: 30 Jun 2020, 14:59 
Hi @PD4ML,

We are trying to convert an HTML file to PDF but the CJK fonts are not displaying in Bold styling, they are rendered in regular styling.
As per the reference manual :
Quote:
PD4ML emulates missing styles. Italic is emulated by an area tilt, Bold is by a font glyph stroke out.


JAR version used is 4.0.4
pd4fonts.properties file contents:

Code:
KaiTi=simkai.ttf
MingLiU=MINGLIU.ttf
Times\ New\ Roman=times.ttf
Times\ New\ Roman\ Bold=timesbd.ttf
Times\ New\ Roman\ Bold\ Italic=timesbi.ttf
Times\ New\ Roman\ Italic=timesi.ttf


HTML File :
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8">
</head>
<body>
<p><strong>simplified chinese</strong></p>
<p><font face="KaiTi"><b>人人生而自由,在尊严和权利上</b></font></p>
</body>
</html>


As per my understanding, since there is no Bold mapping for KaiTi, pd4ml is supposed to emulate the style.
Please guide me on how to achieve bold/italic styling in the resulting PDFs in this case.

Thanks,
Aman.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 30 Jun 2020, 15:01 
PD4ML v4.0.8 addresses the issue. Please give it a try


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 07 Jul 2020, 08:31 
Hi @pd4ml,

We upgraded to 4.0.8 version. Bold is not rendering in case we do not add font face in HTML. Please treat this as urgent and let me know the fix/any other suggestion to try out. We do not have the advantage to add font face in HTML in this case.

Thanks and regards,
Aman.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 07 Jul 2020, 09:50 
Thank you for the upgrading to the recent version!

Please send HTML source sample, its PDF output (generated in your environment) and your actual pd4fonts.properties to support pd4ml com. It would help a lot to analyze the issue.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 07 Jul 2020, 13:17 
Hi @pd4ml,

We have sent the email alongwith the requested files. Please find the email and revert back with the fix/suggestion as soon as possible.

Thanks and regards,
Aman Todi.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 09 Jul 2020, 07:53 
Hi @pd4ml,

Any updates on the issue ?


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 09 Jul 2020, 09:55 
Aman,

we work on the issue. The font subsystem is a very sensitive part of PD4ML - we have to be very careful with any changes there. I'll let you know the status on Monday. Hopefully we have a solution till the date.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 10 Jul 2020, 18:01 
Team,
Sure, please let us know positively by Monday as this is very critical for us.


  Subject: Re: Issue rendering CJK Bold/Italic font styles
   PostPosted: 28 Aug 2020, 14:52 
Nice Information



[Reply]     [ 9 posts ] 

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