for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* FontEncoding class.
*
* @package YetiForcePDF\Objects
* @copyright YetiForce Sp. z o.o
* @license MIT
* @author Rafal Pospiech <[email protected]>
*/
namespace YetiForcePDF\Objects;
* Class FontEncoding.
class FontEncoding extends \YetiForcePDF\Objects\Resource
{
* Encoding.
* @var string
protected $encoding = 'WinAnsiEncoding';
* {@inheritdoc}
public function render(): string
return implode("\n", [
$this->getRawId() . ' obj',
'<</Type Encoding',
' /BaseEncoding /' . $this->encoding,
'>>',
'endobj',
]);
}