-
Notifications
You must be signed in to change notification settings - Fork 388
Description
I am experiencing the following problem:
I have a specific structure in my source html, file attached (pdf.html.txt), that somehow creates a trailing whitespace when using text-align: right and the text is using more than one line.
When I use that html in my implementation like in the attached example.java.txt, it will add a trailing whitespace. Shown in the wrongOutput.pdf.
When I copy the html into your line-wrap-pre-wrap test case html and run the testLineWrapPreWrap() in TextVisualRegressionTest.java it works perfectly fine, also attached. Is there anything I am doing wrong in the preprocessing of the html or the implementation?
I figured out, that some html is not accepted in your test cases, like a normal
tag, while I dont get an error using something like that in my implementation.
Attachments: