forked from mpdf/mpdf
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssue1428Test.php
More file actions
41 lines (34 loc) · 639 Bytes
/
Issue1428Test.php
File metadata and controls
41 lines (34 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
namespace Issues;
use Mpdf\Mpdf;
class Issue1428Test extends \Yoast\PHPUnitPolyfills\TestCases\TestCase
{
/**
* @var \Mpdf\Mpdf
*/
protected $mpdf;
protected function set_up()
{
$this->mpdf = new Mpdf([
'fontDir' => [
__DIR__ . '/../../ttfonts',
__DIR__ . '/../data/ttf',
],
'fontdata' => [
'manjari' => [
'R' => 'Manjari-Regular.ttf',
'useOTL' => 0xFF,
]
],
'default_font' => 'manjari',
]);
}
protected function tear_down()
{
$this->mpdf->cleanup();
}
public function testOtfArrayError()
{
$this->mpdf->WriteHTML('പ്ലാസ്ത്റില്');
}
}