justifyB4br
(mPDF ≥ 4.4)
justifyB4br – Specify whether to justify line of text before a linebreak
Description
void justifyB4br
Specify whether to justify line of text before a linebreak. This only makes a difference when the text-alignment of the
current block is set as text-align: justify
.
In a justified text block, a <br>
linebreak will not cause the preceding line to be justified. This behaviour matches
most browsers. However, to allow optional compliance with the behaviour of MS Word, which also justifies text before
a <br>
you can set this variable to true
.
Values
$justifyB4br = true
|false
Values
true
: justify line of text beofre a linebreakfalse
: do not justify line of text before a linebreak
Default: false
Changelog
Version | Description |
---|---|
4.4 | Variable was added. |