PopTest\Font\FontTest::testType1Afm PHP Метод

testType1Afm() публичный Метод

public testType1Afm ( )
    public function testType1Afm()
    {
        $f = new Type1(__DIR__ . '/../tmp/tcc.afm');
        $this->assertEquals(1000, $f->unitsPerEm);
        $this->assertEquals(873, $f->ascent);
        $this->assertEquals(-210, $f->descent);
        $this->assertEquals(-157, $f->bBox->xMin);
        $this->assertEquals(-269, $f->bBox->yMin);
        $this->assertEquals(1039, $f->bBox->xMax);
        $this->assertEquals(913, $f->bBox->yMax);
    }