I am unable to render Chinese / Russian characters in the PDF file. The corresponding HTML displays these languages correctly. in PDF, I see the following junk characters for Chinese and Russian respectively.
I have tried the solution listed in article http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm which involves copying all TTF (font) files to a directory , generating pd4fonts.properties and then referencing the same in the application using
pd4ml.useTTF( , true ); method.
We are using pd4ml pro version. Manifest.mf within pd4ml.jar contains the following info..
Implementation-Title: PD4ML Pro
Do we need to upgrade to a newer version of pd4ml?
The junk characters look like wrongly interpreted double byte representations of UNICODE/UTF-8 characters. Try to add tag with a correct character encoding directive to your HTML or use PD4ML API’s render() call with an explicitly given ‘encoding’ parameter.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.