@@ -42,8 +42,6 @@ This file is part of the iText (R) project.
42
42
*/
43
43
package com .itextpdf .svg .renderers .impl ;
44
44
45
-
46
- import com .itextpdf .styledxmlparser .LogMessageConstant ;
47
45
import com .itextpdf .svg .exceptions .SvgLogMessageConstant ;
48
46
import com .itextpdf .svg .exceptions .SvgProcessingException ;
49
47
import com .itextpdf .svg .renderers .SvgIntegrationTest ;
@@ -124,11 +122,13 @@ public void moreThanOneHParam() throws IOException, InterruptedException {
124
122
}
125
123
126
124
@ Test
125
+ //TODO update after DEVSIX-2331 - several (negative) line operators
127
126
public void negativeAfterPositiveHandlingTest01 () throws IOException , InterruptedException {
128
127
convertAndCompareVisually (sourceFolder , destinationFolder , "negativeAfterPositiveHandling" );
129
128
}
130
129
131
130
@ Test
131
+ //TODO update after DEVSIX-2333 (negative viewbox) fix
132
132
public void negativeAfterPositiveHandlingTest02 () throws IOException , InterruptedException {
133
133
convertAndCompareVisually (sourceFolder , destinationFolder , "negativeAfterPositiveHandlingExtendedViewbox" );
134
134
}
@@ -161,6 +161,35 @@ public void textPathExample() throws IOException, InterruptedException {
161
161
convertAndCompareVisually (sourceFolder , destinationFolder , "textPathExample" );
162
162
}
163
163
164
+ @ Test
165
+ public void pathH () throws IOException , InterruptedException {
166
+ convertAndCompareVisually (sourceFolder , destinationFolder , "pathH" );
167
+ }
168
+
169
+ @ Test
170
+ public void pathV () throws IOException , InterruptedException {
171
+ convertAndCompareVisually (sourceFolder , destinationFolder , "pathV" );
172
+ }
173
+
174
+ @ Test
175
+ public void pathHV () throws IOException , InterruptedException {
176
+ convertAndCompareVisually (sourceFolder , destinationFolder , "pathHV" );
177
+ }
178
+
179
+ @ Test
180
+ public void pathRelativeAbsoluteCombinedTest () throws IOException , InterruptedException {
181
+ convertAndCompareVisually (sourceFolder , destinationFolder , "pathRelativeAbsoluteCombined" );
182
+ }
183
+
184
+ @ Test
185
+ public void pathHVExponential () throws IOException , InterruptedException {
186
+ // TODO DEVSIX-2906 This file has large numbers (2e+10) in it. At the moment we do not post-process such big numbers
187
+ // and simply print them to the output PDF. Not all the viewers are able to process such large numbers
188
+ // and hence different results in different viewers. Acrobat is not able to process the numbers
189
+ // and the result is garbled visual representation. GhostScript, however, renders the PDF just fine
190
+ convertAndCompareVisually (sourceFolder , destinationFolder , "pathHVExponential" );
191
+ }
192
+
164
193
@ Test
165
194
public void pathABasic () throws IOException , InterruptedException {
166
195
convertAndCompareSinglePageVisually (sourceFolder , destinationFolder , "pathABasic" );
0 commit comments