Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

How to render combined font (Japanese & English ) correctly with cfdocument

$
0
0

Hi All,

 

I have big trouble with "Combined Fonts" (Japanese & English).

 

I have to create pdf document from html content which is shown in my website. For that I have used cfdocument and implemented the pdf from the html content. But my content includes both Japanese & English content and which is appear in a different font in the created pdf than what is on my website. The issue occured only in the case of combined Japanese & English section.

 

The requirement is,

 

For English content, the font should be Verdana.

For Japanese content, the font should be Simson.

 

I have implemented the same with korian, Chinese, french and its working.

 

For outputting the special characters, i have added <cfprocessingDirective pageEncoding="utf-8"> above the code. But I still get weird font for the contents in both English and Japanese.

 

What else should I do to fix this problem?


Thank you.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>