开发者

Why might CorelDraw's publish to pdf feature produce different size files depending on which group the executing user account is in?

As part of a project I am developing a web service to convert CDR files to PDF. I am using c# to trigger CorelDraw's publish to PDF feature. The conversion is run as a command line utility called by the web service.

I am hosting the web service in IIS. I have created a user account for the website's application pool in order to be able to run CorelDraw (I was unable to get it to work with the default application pool and configuring DCOM).

I am getting PDF files of different sizes depending on whether I manually log in to the account and run the conversion program or trigger it through the web service from another machine. I seem also to get different file sizes 开发者_如何学JAVAdepending of whether the application pool account is in the users or administrators group.

Can anyone suggest why this might be happening and what I can do about it?


pdf files sometimes have partial or complete typeface (font) data embedded in them. Maybe access permissions to the font source are different for the different credentials you're using and Corel is leaving them out if it doesn't have access to them.

In Adobe Reader, right click, choose Document Properties, and look at the Fonts tab. Check both the bigger and smaller pdf files, and see if they have same set of font data loaded.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜