diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-20 11:11:33 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-20 11:56:18 -0700 |
commit | 85913c3e502c8cf8b03e4dd143fe42597139780e (patch) | |
tree | 39b9883e4410a2e691a4135f9fb5a535af53fc7a /utils | |
parent | b9094593585de54af74748d2d4acf0e12963522f (diff) | |
download | pango-85913c3e502c8cf8b03e4dd143fe42597139780e.tar.gz |
Use the allow_breaks attribute
In the test-hyphen.txt file, we dont want the hyphenation
examples to be broken, so use the allow_breaks attribute
to prevent that.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/test-hyphens.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test-hyphens.txt b/utils/test-hyphens.txt index de085d7f..65a6afc8 100644 --- a/utils/test-hyphens.txt +++ b/utils/test-hyphens.txt @@ -1,3 +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. +<span allow_breaks="false">A</span> 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 <span allow_breaks="false">impeach‧ment</span> or <span allow_breaks="false">im‧peachment</span> but not <span allow_breaks="false">impe‧achment.</span> -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. +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]: <span allow_breaks="false">American</span> 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. |