Free Support Forum - aspose.com

Font spacing is incorrect in embedded word documents


#1

When I convert the following presentation: Embedded-Word-Doc.pptx.zip (95.0 KB)
to a PDF with speaker notes the embedded word document has incorrect font spacing.

I use the following code to convert:

Presentation doc = new Presentation(filename);

PdfOptions options = new PdfOptions();
options.setSaveMetafilesAsPng(false);
options.setSufficientResolution(128f);

INotesCommentsLayoutingOptions notesOptions = options.getNotesCommentsLayouting();
notesOptions.setNotesPosition(NotesPositions.BottomFull);

doc.save(outputFilename, SaveFormat.Pdf, options);

Here is an example of the output PDF: out.pdf (222.2 KB).
As you can see the letters are floating into each other because of incorrect spacing.

This was observed when converting the PDF in Ubuntu.


#2

@sbd,

I have worked with the information shared by you and have reproduced the issue. An issue with ID SLIDESJAVA-37596 has been created to investigate and resolved the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.