Transform rtf with Japanese charakters to pdf?

  • Hi,

    I'm using wptools (V4.25) to create a rtf with Japanese charakters. We are using a report template (Font = MS UI Gothic) and the function (OnMailMergeGetText) of the TWPRichText component to create a rtf file with Japanese charakters (DBCSMode enabled).
    That far everything works fine. But when we try to create a pdf file with TWPDFExport (wpdf - V2.6.5) the Japanese charakters are messed up. The following lines are used to create the pdf:

    RPTpdfExport.FileName := pdfFileName;
    RPTpdfExport.Source := RPTRichText;
    RPTpdfExport.Execute;

    I already tried to set the charset of the canvas to japanese, but got an exception.

    Is it possible to create an pdf with Japanese charakters? What do I have to do?

    Thanks in advance,
    Kerstin