|
Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
we have installed a custom TrueType font on the system. On an IIS 6 (Windows Server 2003 64 bit) the PDF is renderd correctly with the custom font. On an IIS 7.5 (Windows Server 2008 R2) the custom font is ignored and a standard font is used instead in the pdf.
Is this some kind of a security issue on IIS 7.5???
Greetings, Harald
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Make sure you turn UAC off on your server. For some reason that will make your custom font "invisible" to IIS.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
UAC is already turned off...so that can't be the problem. We use classic pipeline mode and do not use the integrated user account for the application pool, but a user defined account.
Greetings, Harald
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You may want to check the font file's permission (right click the font, then properties -> security). As a test, you can try to give everyone full access to the font file and see if it works.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
changed permissions -> doesn't work....
Harald
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
We are not sure what else we can tell you then. For some reason custom fonts are not visible to a service app under certain scenarios. We've had multiple users who have had the same problem and turning off UAC fixed the problem for them. However this is something on Windows side so we have no control over it, we have not been able to confirm it with MS either.
|
|
Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
your answer is not quite satisfying...
Isn't it possible to copy the font e.g. to the root of the web and set a path in EO.PDF so that it recognizes the font file?
Greetings, Harald
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
I am sorry but this is in Microsoft's hand and we do not have any control over it. Windows manages all the font data and we get font data through Windows. This is necessary because Windows also handles font substitutions. So if Windows decides not to give us the font data, there is virtually nothing else we can do. We do not know whether this is a Windows bug or a permission issue. We have not been able to get a definite answer from Microsoft either. So we are as stuck as you are on this issue.
We know that if you run your application interactively or with higher privilege user it can eliminate the problem. So you may want to put the conversion code into a separate process that satisfies these conditions. Looking forward we are also looking into support @font-face CSS attribute. That should provide an easier workaround for this issue.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
a little late, but I wanted to share the solution: Sometimes a reboot of the server helps... It seems that installing the font is not enough. To make it work we've hat to reboot the server.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Thank you very much for sharing! We didn't know that!
|
|