We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf2html with RasterImagesSavingMode=png issues part 2

Hi Aspose team,


Good day!

when try to convert pdf to html with png option,
there are 4 issues, this is the 2nd one.
issue : please compare page10 of pdf and html I attached, some text in chart became very small, such as Korea in right chart.

code + input pdf + output html attached.

part 1:http://www.aspose.com/community/forums/748764/pdf2html-with-rasterimagessavingmode-png-issue1-part-1/showthread.aspx#748764

part 3:http://www.aspose.com/community/forums/748769/pdf2html-with-rasterimagessavingmode-png-issues-part-3/showthread.aspx#748769
part 4:http://www.aspose.com/community/forums/748777/pdf2html-with-rasterimagessavingmode-png-issues-part-4/showthread.aspx#748777

Regards,
Stone

Hi Stone,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for Java 11.6.0 and noticed the text size issue. For further investigation, I have logged an issue in our issue tracking system as PDFJAVA-35965 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

Best Regards,

Hi Ahmad,


can you please update status for this issue, some text still small with latest lib.

Regards,
Stone

Hi Stone,


Thanks for your patience.

The product team further investigated earlier reported issue but due to some technical limitations, the problem is not yet resolved. However as soon as we have some further updates regarding its resolution, we will let you know.

Hi Stone,


Thanks for your patience.

We have further investigated the earlier reported issue and in order to generated correct output, please, use the following option for keeping maximum precision during the conversion.

saveOptions.setPreventGlyphsGrouping(true);

This attribute turns on the mode when text glyphs will not be grouped into words and strings. This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes, charts or glyphs that should be placed separately each other.

In case of any further query, please feel free to contact.