[pango/better-hyphens: 64/66] Use the allow_breaks attribute
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/better-hyphens: 64/66] Use the allow_breaks attribute
- Date: Sat, 20 Jul 2019 19:00:05 +0000 (UTC)
commit 85913c3e502c8cf8b03e4dd143fe42597139780e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 20 11:11:33 2019 -0700
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.
utils/test-hyphens.txt | 4 ++--
1 file 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]