I've a text content in "xyz" language.
<p style="font-family:xyz;"> eWvS³: kmwkMnsâ kq¸Àt^mWmb KmeIvkn kocoknsâ aq¶mw]Xn¸v </p>
// It will not display correctly as font is not embedded.
here the font xyz (xyz.ttf) is non unicode.
Now I want to convert that "XYZ" (xyz.ttf) font text to unicode "PQR" (pqr.ttf) font
Simply, a non-unicode Chinese (non_uni_chinese.ttf) to uniocode Chinese (uni_chinese.ttf)
how can I make it possible using php. any help?
You must do this "character by character".
It's mean you must replace every character in "non-Unicode Chinese" font to Unicode font. I don't know much about Chinese, but in Vietnam, they use this way:
Of course we don't do it step-by-step, we use a software called "Unikey" to do this.
And I'm sure that there is a software to do that in Chinese. The point here is you must "do" it again in PHP.
Here come something can help you: http://www.pinyin.info/tools/converter/chars2uninumbers.html
Good luck.