@@ -29,7 +29,7 @@ def TrueTypeTest():
29
29
document .add_newline ()
30
30
document .add_indent ()
31
31
document .add_text (
32
- "This should be enough text to test going over the edge of the \
32
+ "This should be enough text to test going over the edge of the\
33
33
page, and having to wrap back around. Let's see if it works!" )
34
34
document .add_page ()
35
35
@@ -89,37 +89,37 @@ def TrueTypeTest():
89
89
90
90
# Test Page splitting with paragraphs
91
91
document .add_text (
92
- """Lorem Ipsum is simply dummy text of the printing and
93
- typesetting industry. Lorem Ipsum has been the industry's
94
- standard dummy text ever since the 1500s, when an unknown
95
- printer took a galley of type and scrambled it to make a
96
- type specimen book. It has survived not only five centuries,
97
- but also the leap into electronic typesetting, remaining
98
- essentially unchanged. It was popularised in the 1960s with
99
- the release of Letraset sheets containing Lorem Ipsum passages,
100
- and more recently with desktop publishing software like Aldus
92
+ """Lorem Ipsum is simply dummy text of the printing and\
93
+ typesetting industry. Lorem Ipsum has been the industry's\
94
+ standard dummy text ever since the 1500s, when an unknown\
95
+ printer took a galley of type and scrambled it to make a\
96
+ type specimen book. It has survived not only five centuries,\
97
+ but also the leap into electronic typesetting, remaining\
98
+ essentially unchanged. It was popularised in the 1960s with\
99
+ the release of Letraset sheets containing Lorem Ipsum passages,\
100
+ and more recently with desktop publishing software like Aldus\
101
101
PageMaker including versions of Lorem Ipsum.""" )
102
102
document .add_newline (2 )
103
103
document .add_text (
104
- """Lorem ipsum dolor sit amet, consectetur adipiscing elit.
105
- Cras et erat dolor. Nullam id aliquam neque. Vivamus nec nibh
106
- orci. Nam faucibus dignissim diam eget tempor. Aenean neque sem,
107
- euismod sit amet tellus nec, elementum varius diam. Vestibulum
108
- in ultricies enim. Fusce imperdiet tempus lacus facilisis
109
- vestibulum. Vestibulum urna magna, dignissim vel venenatis in,
110
- pulvinar ac orci. Etiam vitae tempor metus, eu tristique mauris.
111
- Donec tincidunt purus et scelerisque sagittis. Proin semper
104
+ """Lorem ipsum dolor sit amet, consectetur adipiscing elit.\
105
+ Cras et erat dolor. Nullam id aliquam neque. Vivamus nec nibh\
106
+ orci. Nam faucibus dignissim diam eget tempor. Aenean neque sem,\
107
+ euismod sit amet tellus nec, elementum varius diam. Vestibulum\
108
+ in ultricies enim. Fusce imperdiet tempus lacus facilisis\
109
+ vestibulum. Vestibulum urna magna, dignissim vel venenatis in,\
110
+ pulvinar ac orci. Etiam vitae tempor metus, eu tristique mauris.\
111
+ Donec tincidunt purus et scelerisque sagittis. Proin semper\
112
112
facilisis vehicula.""" )
113
113
document .add_text (
114
- """Pellentesque rhoncus vestibulum turpis ut varius. Nunc a rutrum
115
- est. Etiam sollicitudin rhoncus nisl, quis scelerisque felis
116
- dignissim vitae. Maecenas rutrum quam at risus mattis congue. Sed
117
- hendrerit nulla ac nunc consectetur suscipit. Fusce elementum
118
- interdum nibh, et fermentum lacus egestas non. Sed consectetur
119
- mollis tortor, eu aliquam leo tristique sit amet. Etiam nec lectus
120
- magna. Nam faucibus scelerisque velit nec cursus. Ut a dolor
121
- accumsan, gravida nunc vitae, luctus quam. Vestibulum quis gravida
122
- quam. Proin feugiat urna ut rutrum facilisis. Vivamus gravida iaculis
114
+ """Pellentesque rhoncus vestibulum turpis ut varius. Nunc a rutrum\
115
+ est. Etiam sollicitudin rhoncus nisl, quis scelerisque felis\
116
+ dignissim vitae. Maecenas rutrum quam at risus mattis congue. Sed\
117
+ hendrerit nulla ac nunc consectetur suscipit. Fusce elementum\
118
+ interdum nibh, et fermentum lacus egestas non. Sed consectetur\
119
+ mollis tortor, eu aliquam leo tristique sit amet. Etiam nec lectus\
120
+ magna. Nam faucibus scelerisque velit nec cursus. Ut a dolor\
121
+ accumsan, gravida nunc vitae, luctus quam. Vestibulum quis gravida\
122
+ quam. Proin feugiat urna ut rutrum facilisis. Vivamus gravida iaculis\
123
123
nibh at feugiat.""" )
124
124
125
125
# Close writer
0 commit comments