Svg's letter-spacing style gets ignored when converting DOCX to PDF

Hi,

When converting a DOCX containing SVGs to a PDF with Aspose, where the text in the SVG file has ‘letter-spacing’ attribute, I noticed the spacing property was ignored and the text got unexpectedly expanded:

Code:

var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\out.pdf", new PdfSaveOptions() { OptimizeOutput = true });

I’ve attached the SVG file (where you can find each text node has letter-spacing="-0.2"), the docx and PDF, as well as the font file used in the SVG for your reference. Could you please help us take a look?

test files.zip (1.2 MB)
image.png (71.8 KB)

Thanks,

@ServerSide527 Thank you for reporting this problem to us. It has been logged as WORDSNET-23717. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-23717) have been fixed in this Aspose.Words for .NET 22.5 update also available on NuGet.