RTF to PDF conversion results different to Word -> PDF

I am running LibreOffice 4.2.8.2 420m0(Build:2) on Ubuntu, and using it to convert RTF documents to PDF using the --headless mode command line:

libreoffice --headless --norestore --convert-to pdf myfile.rtf

The reason for using version 4.2.8.2 is that I have not been able to retain hanging indents and other styles when converting with newer versions of Libreoffice.

When viewing my RTF document in Word and then printing to PDF, the whole document fits comfortably in a single page (Times New Roman, Folio paper size). However, when converting the same RTF document with Libreoffice, the resulting PDF no longer fits in a single page.

On closer examination, the difference appears to be in the line spacing, where the Libreoffice converted PDF has a greater line spacing than the original Word RTF.

Is there anyway to control this, so that the original Word RTF line spacing is retained?

Many thanks for any help or info.

Hi, I have managed to resolve this issue by editing the RTF document (in Word) and explicitly setting the line spacing – in this case to being at least 12pt. It seems the original problem might be the different ways Word and Libreoffice treats line spacing when it is not explicitly specified.