markTestSkipped('Skipping ImageGdTest, Gd not installed'); } else { $this->image = new Image(); $this->image->setDriver(Image::DRIVER_GD2); parent::setUp(); } } protected function isFontTestSupported() { $infos = gd_info(); return isset($infos['FreeType Support']) ? $infos['FreeType Support'] : false; } }