diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-18 07:45:30 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-18 07:46:32 -0700 |
commit | 22c1da8800cee6637e3d4f1dc1a9e0d8c84c53db (patch) | |
tree | c2dd27b83e00487a329aa4f5d465e64f035e2303 | |
parent | d0dc07fa02d7f459c187803b9552bd834639e524 (diff) | |
download | pango-22c1da8800cee6637e3d4f1dc1a9e0d8c84c53db.tar.gz |
Add a test file with lots of hyphens
This has quite a few soft hyphens, some explicit hyphens,
and some hyphenation point characters. Try it with
pango-view --width=330 --wrap=word --justify test-hyphens.txt
-rw-r--r-- | utils/test-hyphens.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/test-hyphens.txt b/utils/test-hyphens.txt new file mode 100644 index 00000000..de085d7f --- /dev/null +++ b/utils/test-hyphens.txt @@ -0,0 +1,3 @@ +A hyphenation algorithm is a set of rules, especially one codified for implementation in a computer program, that decides at which points a word can be broken over two lines with a hyphen. For example, a hyphenation algorithm might decide that impeachment can be broken as impeach‧ment or im‧peachment but not impe‧achment. + +One of the reasons for the complexity of the rules of wordbreaking is that different "dialects" of English tend to differ on hyphenation[citation needed]: American English tends to work on sound, but British English tends to look to the origins of the word and then to sound. There are also a large number of exceptions, which further complicates matters. |