public function testBufferPdfa() { $indir = __DIR__ . '/../util/vendor/font/'; $objnum = 1; $stack = new \Com\Tecnick\Pdf\Font\Stack(1, true, false, true); new \Com\Tecnick\Pdf\Font\Import($indir . 'pdfa/pfb/PDFAHelveticaBoldOblique.pfb'); $stack->add($objnum, 'arial', 'BIUDO', '', true); $font = $stack->getFont('pdfahelveticaBI'); $this->assertNotEmpty($font); }