[pango] Add a test file with lots of hyphens



commit 22c1da8800cee6637e3d4f1dc1a9e0d8c84c53db
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 18 07:45:30 2019 -0700

    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

 utils/test-hyphens.txt | 3 +++
 1 file changed, 3 insertions(+)
---
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 hy­phen­ation al­go­rithm is a set of rules, espe­ci­ally one co­di­fied for im­ple­men­tation in a 
com­pu­ter pro­gram, that de­ci­des at which points a word can be bro­ken over two lines with a hy­phen. For 
ex­am­ple, a hy­phen­ation al­go­rithm might de­cide that im­peach­ment can be broken as impeach‧ment or 
im‧peachment but not impe‧‍achment.
+
+One of the rea­sons for the com­plex­ity of the rules of word­break­ing is that dif­fer­ent "di­alects" of 
English tend to dif­fer on hy­phen­ation[ci­ta­tion needed]: Ame­rican Eng­lish tends to work on sound, but 
British English tends to look to the ori­gins of the word and then to sound. There are also a large num­ber 
of ex­cep­tions, which fur­ther com­pli­cates mat­ters.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]