@@ -27,6 +27,7 @@ This file is part of the iText (R) project.
2727import com .itextpdf .pdfocr .TextInfo ;
2828import org .junit .jupiter .api .Assertions ;
2929import org .junit .jupiter .api .BeforeEach ;
30+ import org .junit .jupiter .api .Disabled ;
3031import org .junit .jupiter .api .Test ;
3132import org .slf4j .Logger ;
3233import org .slf4j .LoggerFactory ;
@@ -88,6 +89,7 @@ public void testHocrRotatedImage() throws IOException {
8889 }
8990
9091 @ Test
92+ @ Disabled ("DEVSIX-9261 Investigate test failures on Windows Server 2025 and Windows 11" )
9193 public void compareRotatedImage () throws InterruptedException , IOException {
9294 String testName = "compareRotatedImage" ;
9395 String filename = "90_degrees_rotated" ;
@@ -109,7 +111,7 @@ public void compareRotatedImage() throws InterruptedException, IOException {
109111 Arrays .<String >asList ("eng" ), Arrays .<String >asList (NOTO_SANS_FONT_PATH ),
110112 null , true );
111113
112- // Because of difference of tesseract 5 and tesseract 4 there're some differences in text recognition.
114+ // Because of difference of tesseract 5 and tesseract 4 there are some differences in text recognition.
113115 // So the goal of this test is to make text invisible and check if image is rotated.
114116 // Proper text recognition is compared in testHocrRotatedImage test by checking HOCR file.
115117 boolean javaTest = new CompareTool ().compareVisually (resultPdfPath , expectedPdfPathJava ,
0 commit comments