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

Free Support Forum - aspose.com

Convert PDF to SVG - Word spacing

I’m using the latest version of AsposePDF and converting a PDF to SVG. I see the original font is not retained and also spacing between words and within words is odd/random. I have truetype fonts on my machine and set it in code.

Document pageDoc = new Document();
SvgSaveOptions saveOptions = new SvgSaveOptions();
saveOptions.CompressOutputToZipArchive = false;
pageDoc.save(dstFile.getAbsolutePath(), saveOptions);Test.pdf (7.8 KB)

The sample file attached has fewer issues than I noticed on other files which are internal to my company. But you can get an idea from the sample file

This Topic is created by sohail.aspose using the Email to Topic plugin.


Thank you for contacting support.

Our colleague has shared related findings in the other thread created by you. Kindly follow up in respective thread.