Text rendered outside document after pdf to html conversion

Hi,

When converting one of our documents we noticed that the text is rendered mostly outside the bounds of the document.We are using Aspose PDF for .NET 19.9.0

The original document is: VOPAPOD 098 Naamkaartjes zaakvoerder_NL optie7.pdf (1.7 MB)

Our conversion result: VOPAPOD 098 Naamkaartjes zaakvoerder_NL optie7.zip (376.9 KB)

The code we used is:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.SplitIntoPages = false;
htmlSaveOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsExternalPngFilesReferencedViaSvg;

using (Document pdfDoc = new Document(sourcePdfPath))
{
pdfDoc.Save(targetHtmlPath, htmlSaveOptions);
}

Kind regards,

Stefaan

@stefaan.vandewinkel

We were able to replicate the issue using Aspose.PDF for .NET 19.11 in our environment and logged it as PDFNET-47302 in our issue tracking system for the sake of correction. We will further look into details of this issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-47302) have been fixed in Aspose.PDF for .NET 20.3.