On Wed, 29 Sep 2021 19:48:20 GMT, Alexey Ivanov <[email protected]> wrote:

> I made the test and its assertions more flexible in regards to the font size 
> and to the number of lines.
> 
> The test still requires there are at least four lines so that the text is 
> wrapped before the first hard line break; thus at least one line of text is 
> justified. This pre-requisite gets broken if `font-size: 4pt` property is 
> added to the `style` attribute in my local environment. I also ran the test 
> with a few larger font sizes, the updated test passes successfully.
> 
> I made sure the image is saved if any exception gets thrown from 
> `checkJustification`, which wasn't the case.
> 
> This PR replaces #5744.

Good.
I'll spend some time testing this fix and will let you know in this pr.
Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5761

Reply via email to