File "prep.php"
Full Path: /home/ichhrkpd/public_html/idcm/application/third_party/dompdf/vendor/dompdf/php-font-lib/src/FontLib/Table/Type/prep.php
File size: 604 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* @package php-font-lib
* @link https://github.com/dompdf/php-font-lib
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
*/
namespace FontLib\Table\Type;
use FontLib\Table\Table;
/**
* `prep` font table.
*
* @package php-font-lib
*/
class prep extends Table
{
private $rawData;
protected function _parse() {
$font = $this->getFont();
$font->seek($this->entry->offset);
$this->rawData = $font->read($this->entry->length);
}
function _encode() {
return $this->getFont()->write($this->rawData, $this->entry->length);
}
}