Skip to content

Commit 560856f

Browse files
committed
Include Font_Table_name in Font_TrueType (Fixes issue 9)
1 parent e8155c9 commit 560856f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

classes/Font_Table_name.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Font_Table_name extends Font_Table {
3838
const NAME_PREFERRE_FAMILY = 16;
3939
const NAME_PREFERRE_SUBFAMILY = 17;
4040
const NAME_COMPAT_FULL_NAME = 18;
41-
const NAME_SAMPLE_TEXT = 18;
41+
const NAME_SAMPLE_TEXT = 19;
4242

4343
static $nameIdCodes = array(
4444
0 => "Copyright",

classes/Font_TrueType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
require_once "$dir/Font_TrueType_Table_Directory_Entry.php";
1212
require_once "$dir/Font_TrueType_Header.php";
1313
require_once "$dir/Font_Table.php";
14+
require_once "$dir/Font_Table_name.php";
1415
require_once "$dir/Adobe_Font_Metrics.php";
1516

1617
/**

0 commit comments

Comments
 (0)