HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Issue with font family on chinese characters › Re: Re: Issue with font family on chinese characters
In current DEV build we implemented a solution for the issue. It is a very sensitive part of the rendering engine and the patched version still cannot pass QA by “exotic” test cases (a mix of Chinese and Arabic scripts), so we made the patch conditionally switchable on/off. Currently by default it is switched off.
In order to enable it you should either run your Java (app server?) with the following JVM parameter:
-Dpd4ml.fix.20150816=true
Alternatively you may trigger PD4ML API to achieve the same effect:
HashMap map = new HashMap();
map.put( PD4Constants.PD4ML_FIX20150816, “true” );
pd4ml.setDynamicParams(map);
Hopefully the workaround is ok for you.
We currently work on a totally refactored PD4ML v4.x, which should implicitly solve such kind of issues.
We’ll send you an updated library by request to support pd4ml com