@@ -377,15 +377,10 @@ } /* Java2D properties */ sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment"; - { /* This is used only for debugging of font problems. */ - WCHAR *path = _wgetenv(L"JAVA2D_FONTPATH"); - sprops.font_dir = (path != NULL) ? _wcsdup(path) : NULL; - } - /* OS properties */ { char buf[100]; boolean is_workstation; boolean is_64bit;