|
Rank: Member Groups: Member
Joined: 7/11/2013 Posts: 10
|
When I try to generate PDFs from HTML with characters with accents or special marks, like ë and ò, they are rendered as question marks. But this only happens when EO.PDF is running on my server - Windows 2016 Datacenter. The characters render fine on my development machine, a Windows 10 box.
The HTML is using Verdana font, which is standard and installed on the server.
Any suggestions?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
This most likely has to do with permissions. Can you try to load the same page with Google Chrome browser on the server under the same user account and see if it works?
|
|
Rank: Member Groups: Member
Joined: 7/11/2013 Posts: 10
|
Thanks for the suggestion. The web site that was running it was running using an application pool identity, so permissions might have been an issue. I changed the app pool to run with my administrator credentials but it didn't fix it. :( Any other thoughts?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Have you tried testing with Google Chrome?
Internally we use Chromium browser engine to render the page, which is the same browser engine Google Chrome uses. So it should demonstrate the same behavior as Google Chrome browser. If the problem also exists in Google Chrome browser, then you can debug your page with Google Chrome to resolve the issue. We do not provide support on this part.
If the problem does not occur with Google Chrome, then we will need remote access to your system in order to investigate this issue further.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/11/2013 Posts: 10
|
Yes, it works fine in Chrome.
I can't provide remote access to the production server. And I can't reproduce this on any test machines. So I guess we're at an impasse.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
The only thing we can do is to keep an eye on this issue and see we run into it again somewhere we do have access to. For this kind of issues we must have access to a system where we can reproduce the problem --- ideally in our own debug environment, but we can also work on the customer's system. The bottom line is we have to debug on the system that demonstrates the problem in order to precisely pinpoint the problem.
In the mean time, you can try to use @font-face CSS attribute to explicitly specify the font file in your HTML and see if that works. This way it would bypass Windows's font manager.
|
|