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

Free Support Forum - aspose.com

PDF to SVG - incorrect character spacing

Hi,


I have found that Aspose does not handle some fonts correctly when converting PDF file to SVG file.

When I convert the attached PDF file to SVG, the character spaces become wrong (and the font is also changed).

I use the following code for the conversion:
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(pdfFilePath);
Aspose.Pdf.SvgSaveOptions saveOptions = new Aspose.Pdf.SvgSaveOptions
{
CompressOutputToZipArchive = false
};
pdfDocument.Save(Path.ChangeExtension(pdfFilePath, “svg”), saveOptions);

Hint: Maybe OpenType fonts should be used in the converted SVG file instead of SVG fonts?

Could you please help me?

Thank you in advance!

Hi Viktor,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for .NET 11.1.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWNET-40060 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,