-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#429 Tests/fixes break-word behavior with unbreakably large chars.
- Loading branch information
Showing
5 changed files
with
45 additions
and
9 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
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.73 KB
...opdf-examples/src/main/resources/visualtest/expected/issue-429-break-word-large-chars.pdf
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...mltopdf-examples/src/main/resources/visualtest/html/issue-429-break-word-large-chars.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,20 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@page { | ||
size: 40mm 300mm; | ||
margin: 5mm; | ||
} | ||
body { | ||
word-wrap: break-word; | ||
margin: 5mm; | ||
border: 1px solid black; | ||
width: 18mm; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div style="font-size: 36mm;">ABC DEF</div> | ||
<div style="font-size: 9mm;">ABC</div> | ||
</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