Welcome Guest Search | Active Topics | Sign In | Register

Updated EO.pdf 2015 to 2017 causes small visual change Options
Frank
Posted: Friday, May 26, 2017 4:06:44 AM
Rank: Newbie
Groups: Member

Joined: 5/26/2017
Posts: 6
Hi,

We recently updated EO.pdf from version 15.4.18 to the latest version and we have noticed that in the generated pdf's there is a small visual change in the generated pdf, it looks like the text is somehow more stretched out with a few pixels but the font size is the same when comparing two of the same generated pdf's with the old and new EO.pdf version next to each other.

I also have tried this in EO 2016 and it gives the same result.

We use the HtmlToPdf.ConvertHtml function with the following options:
HtmlToPdfOptions htmlToPdfOptions = new HtmlToPdfOptions {
PageSize = PdfPageSizes.A4,
AutoAdjustForDPI = false,
AutoFitX = HtmlToPdfAutoFitMode.None,
MaxLoadWaitTime = 60000,
ZoomLevel = 1f
};

We add the font size with css: Font-size: 10pt

I also tried with different zoom levels but it doesn’t give the same result as the old version.

I hope this is enough information and there is an answer how to solve this issue.
eo_support
Posted: Friday, May 26, 2017 2:05:00 PM
Rank: Administration
Groups: Administration

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

These two version uses different versions of Chromium browser engine and the font engine may have some changes that would affects the text layout. However the HTML to PDF converter should not render anything significantly different than the Chrome browser. So you can try to compare the result with Google Chrome browser (particularly the printed out result) and if you see they are significantly different, please send us a test HTML and we will be happy to investigate further. See here for more information on sending test file to us:

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

Also if you were trying 17.1.55 build, then please update to 17.1.65 build. Build .55 has a known issue that affects font layout.

Thanks!


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.