-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #440 - Remove trailing whitespace when not left aligned.
With test. Also had to recommit bidi tests because changed the result pixel wise.
- Loading branch information
Showing
6 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.54 KB
...pdf-examples/src/main/resources/visualtest/expected/issue-440-trailing-ws-align-right.pdf
Binary file not shown.
Binary file modified
BIN
-276 Bytes
(99%)
openhtmltopdf-examples/src/main/resources/visualtest/expected/text/arabic-bidi.pdf
Binary file not shown.
Binary file modified
BIN
-449 Bytes
(99%)
openhtmltopdf-examples/src/main/resources/visualtest/expected/text/letter-spacing-bidi.pdf
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
...ltopdf-examples/src/main/resources/visualtest/html/issue-440-trailing-ws-align-right.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@page { | ||
size: 250px 600px; | ||
} | ||
body { | ||
font-size: 16px; | ||
text-align: right; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
This is some text to show that text aligned right has the trailing spaces removed, | ||
just like justified text. All the characters at the right should line up em | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters