I have a variable of type text and which has <br> tag inside it, so when code finds <br> tags it breaks the sentence using below code
 
$break = new WordFragment($docx);
    $break->addBreak();
 
if (!empty($lineBreakText)) {
$text[] = array(
'text' => $lineBreakText
);
}
               $text[] = $break;
But this line break gets added by default with font 'Microsoft Sans Serif' with size 11. I want it to make it as 'Arial' with size 6.
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum