[pango] Add a test file with lots of hyphens
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Add a test file with lots of hyphens
- Date: Thu, 18 Jul 2019 14:47:11 +0000 (UTC)
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 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]