Welcome Guest Search | Active Topics | Sign In | Register

Font embedding - help Options
ubiquitas
Posted: Monday, October 21, 2013 7:58:20 AM
Rank: Newbie
Groups: Member

Joined: 10/10/2013
Posts: 2
Using EO HtmlToPdf to convert a web page to a nice pdf

The webpage has a custom font which IS installed on my test machine and the live server.

The webpage renders correctly locally and when I remote into the server and load in a browser there

The test system produces PDF exactly as per the page I'm converting

The live system replaces the custom font with Times New Roman

So in a word, help ! What is wrong here ?

thanks
eo_support
Posted: Monday, October 21, 2013 9:54:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

If your live server is Windows 7 or Windows Server 2008 then your app may not "see" the custom font. We do not know exactly why but some of our users have reported turning UAC off on your server and then reboot would fix the problem. So please try that and see if it works for you.

If it still does not work for you, try to use CSS @font-face to load the font from your CSS. That would bypass windows font manager and should work in all cases (make sure the Url to the font file works on your live server).

Thanks!
ubiquitas
Posted: Monday, October 21, 2013 10:42:49 AM
Rank: Newbie
Groups: Member

Joined: 10/10/2013
Posts: 2
thanks, I already implemented @font-face which works - will try the UAC method out of hours...
eo_support
Posted: Monday, October 21, 2013 10:45:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Great! Glad to hear that it works for you. Thanks for the update!


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.