Welcome Guest Search | Active Topics | Sign In | Register

Problem with custom TrueType font on IIS 7.5 Options
Harry50
Posted: Monday, August 20, 2012 11:54:30 AM
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
eo_support
Posted: Monday, August 20, 2012 12:30:42 PM
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!
Harry50
Posted: Tuesday, August 21, 2012 3:47:04 AM
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
eo_support
Posted: Tuesday, August 21, 2012 9:02:57 AM
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!
Harry50
Posted: Tuesday, August 21, 2012 10:09:36 AM
Rank: Member
Groups: Member

Joined: 7/21/2011
Posts: 12
Hi,

changed permissions -> doesn't work....

Harald
eo_support
Posted: Tuesday, August 21, 2012 10:14:57 AM
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.
Harry50
Posted: Tuesday, August 21, 2012 10:57:27 AM
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
eo_support
Posted: Tuesday, August 21, 2012 11:09:10 AM
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!
Harry50
Posted: Friday, September 14, 2012 7:39:30 AM
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!
eo_support
Posted: Friday, September 14, 2012 8:59:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Thank you very much for sharing! We didn't know that!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.