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,