简体   繁体   中英

Special character encoding in aspose words

I'm using aspose cells, word to treat a csv file and copy it into a Word template and finally convert it to Pdf. On dev env it works like a charm, how ever in production I have some letter like ö which does not appear only in production env. I suspected substituon or fallback issue as as there is diffrence between fonts in both pdf files, the diffrence is times new roman font, in one file it is true type Cid with encodage identity h versus true type with encodage ANSI. Is reinstalling the font will help? If not any alternatives?

Thanks for your helps.

Thank you for your request. Yes, the reason of the problem is probably causes by difference in fonts in your development and production environments. Installing the same set of fonts in your production environment should fix the problem. As an alternative you can put the required fonts in a folder and specify this folder as a fonts source. https://apireference.aspose.com/net/words/aspose.words.fonts/fontsettings If you have any further questions you can ask here or in the forum - the main place for support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM