[ROSTESTS]
[reactos.git] / rostests / winetests / gdi32 / font.c
index d865933..a584a40 100644 (file)
@@ -313,9 +313,12 @@ static void test_bitmap_font(void)
     SIZE size_orig;
     INT ret, i, width_orig, height_orig, scale, lfWidth;
 
     SIZE size_orig;
     INT ret, i, width_orig, height_orig, scale, lfWidth;
 
-       skip("ROS-HACK: Skipping bitmap font tests!\n");         
-       return;
-       
+    if(!winetest_interactive)
+    {
+           skip("reactos bug 5401: Skipping bitmap font tests!\n");
+           return;
+    }
+
     hdc = GetDC(0);
 
     /* "System" has only 1 pixel size defined, otherwise the test breaks */
     hdc = GetDC(0);
 
     /* "System" has only 1 pixel size defined, otherwise the test breaks */
@@ -410,6 +413,12 @@ static void test_outline_font(void)
     POINT pt;
     INT ret;
 
     POINT pt;
     INT ret;
 
+    if(!winetest_interactive)
+    {
+        skip("reactos bug 5401: Skipping outline font tests!\n");
+        return;
+    }
+
     if (!is_truetype_font_installed("Arial"))
     {
         skip("Arial is not installed\n");
     if (!is_truetype_font_installed("Arial"))
     {
         skip("Arial is not installed\n");