This project is read-only.

Line height wrong

Jul 14, 2011 at 10:28 PM

Hi, i have issue with line heights on text (i'm not working with tables)

the simple code (this is all code):

 

$PHPWord = new PHPWord();
$section = $PHPWord->createSection();

$section->addText("hi");
$section->addText("Hi");

$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
$objWriter->save('doc/helloWorld.docx');

Result:

http://i52.tinypic.com/2yw76zl.jpg

Using: PHPWord_0.6.2_Beta

thank you very much.