|
Rank: Newbie Groups: Member
Joined: 5/21/2013 Posts: 7
|
Using ASPXToPDF can anyone shed some light on why the fonts are rendering out this way? This is the true type font Open Sans. It's like it renders half of it and tries to render the other half with an image overlay? Is there any way I can fix this or prevent it? Thanks. This is EO PDF version 3.0.104.2.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You want to try the latest build first. Sometimes its possible that text are rendered as bitmap when it needs to mix with the background, but it doesn't look likely in the screenshot you posted because they are all solid color backgrounds. Nevertheless, the latest build handles drawings much better than your version. So please try that first and see if it fixes the problem for you.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/21/2013 Posts: 7
|
On the latest version I get the same result. Here's the actual PDF document being exported if this will help at all. https://dl.dropboxusercontent.com/u/109138410/Heritage-Application_Steve-Stalder-5-21-2013%20(1).pdf Thank you!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
In that case please try to create a test HTML page that you can use ConvertHtml/ConvertUrl to reproduce the problem (internally ASPXToPDF calls ConvertHtml). Once you have that you can send it to us and we will see what we can find. We will PM you as to where to send the test page.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/21/2013 Posts: 7
|
I seem to have narrowed down what I think is the issue here. The following CSS fixes my issue as far as I can tell.
* { text-shadow: none !important; }
Hopefully this helps anyone else having issues. I am using bootstrap and they put text shadows on a lot of elements by default.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Ah! Yes. That makes perfect sense. When the text has shadow it will be rasterized. Thank you very much for sharing!
|
|