Welcome Guest Search | Active Topics | Sign In | Register

When PDF is generated from HTML, double "t" characters get "damaged"? Options
Alex Bendikov
Posted: Friday, February 16, 2018 2:10:42 PM
Rank: Newbie
Groups: Member

Joined: 2/16/2018
Posts: 2
We use EO.pdf 18.0.70.0 in our product.

Recently we have noticed an anomaly reproducible under the following conditions:

1. HTML contains text "tt" (i.e. two consecutive "t" characters).
2. Our application generates PDF.
3. We open PDF using either Adobe Acrobat Reader or MS Word and inspect "tt" fragment.

What we see is:

1. In MS Word we see single character instead of "tt", appearing as space.
2. In Adobe Acrobat Reader "tt" appears fine, however if one copy-pastes it into Notepad, it gets pasted as non-printable character appearing as square.

Here is the fragment of HTML file containing "tt":

<div class="printout">Watts engine</div>

After PDF is rendered and "tt" is copy-pasted from Adobe Acrobat Reader into Notepad it appears as:

Wa􀂂s

Please advise. I have actual HTML and PDF files demonstrating the problem but they are rather large and I don't see a way to attach them to my post.

Thanks in advance.
eo_support
Posted: Saturday, February 17, 2018 12:45:15 AM
Rank: Administration
Groups: Administration

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

This maybe related to the font that you use. You can try the following:

1. Try to use Google Chrome browser's print feature, but use "Save as PDF" as the printer and see if you get the same problem. If you do get the same problem, then the issue is in the Chromium browser engine. As a general guideline, for issues in the Chromium browser engine, we will wait for the Chromium team to fix;

2. Try to reduce the HTML file to a minimum that can reproduce the problem. This usually will help you find out what triggered the problem (could be a specific font). If the problem is in the browser engine, you may want to switch to a different font. If the problem is not in the browser engine, you can send us the reduced HTML file and we will investigate further. See here on how to submit test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Alex Bendikov
Posted: Monday, February 19, 2018 7:00:58 PM
Rank: Newbie
Groups: Member

Joined: 2/16/2018
Posts: 2
This is indeed related to the font we use.

Thanks for the suggestion; we'll look into using a different one.
eo_support
Posted: Tuesday, February 20, 2018 8:57:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Thanks for the update. Please feel free to let us know if you run into any other issues.


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.