Skip to content

Instantly share code, notes, and snippets.

@chrishieu
Last active February 17, 2017 10:49
Show Gist options
  • Save chrishieu/42144d0e95e66b2fa59f572998b655c9 to your computer and use it in GitHub Desktop.
Save chrishieu/42144d0e95e66b2fa59f572998b655c9 to your computer and use it in GitHub Desktop.
Output
object(FontLib\EOT\File)[1]
public 'header' => null
private 'tableOffset' (FontLib\TrueType\File) => int 0
protected 'directory' =>
array (size=0)
empty
protected 'data' =>
array (size=0)
empty
protected 'glyph_subset' =>
array (size=0)
empty
public 'glyph_all' =>
array (size=0)
empty
protected 'f' => resource(9, stream)
string 'Font Weight: ' (length=13)
object(FontLib\OpenType\File)[2]
public 'header' =>
array (size=0)
empty
private 'tableOffset' (FontLib\TrueType\File) => int 0
protected 'directory' =>
array (size=0)
empty
protected 'data' =>
array (size=0)
empty
protected 'glyph_subset' =>
array (size=0)
empty
public 'glyph_all' =>
array (size=0)
empty
protected 'f' => resource(12, stream)
string 'Font Weight: ' (length=13)
object(FontLib\TrueType\File)[1]
public 'header' =>
array (size=0)
empty
private 'tableOffset' => int 0
protected 'directory' =>
array (size=0)
empty
protected 'data' =>
array (size=0)
empty
protected 'glyph_subset' =>
array (size=0)
empty
public 'glyph_all' =>
array (size=0)
empty
protected 'f' => resource(14, stream)
string 'Font Weight: ' (length=13)
object(FontLib\WOFF\File)[2]
public 'header' =>
object(FontLib\WOFF\Header)[15]
protected 'def' =>
array (size=13)
'format' => int 5
'flavor' => int 5
'length' => int 5
'numTables' => int 3
0 => int 3
'totalSfntSize' => int 5
'majorVersion' => int 3
'minorVersion' => int 3
'metaOffset' => int 5
'metaLength' => int 5
'metaOrigLength' => int 5
'privOffset' => int 5
'privLength' => int 5
protected 'font' =>
&object(FontLib\WOFF\File)[2]
public 'data' =>
array (size=14)
'format' => int 2001684038
'flavor' => int 65536
'length' => int 29824
'numTables' => int 13
0 => int 0
'totalSfntSize' => int 85632
'majorVersion' => int 1
'minorVersion' => int 0
'metaOffset' => int 0
'metaLength' => int 0
'metaOrigLength' => int 0
'privOffset' => int 0
'privLength' => int 0
'formatText' => string 'wOFF' (length=4)
protected 'f' => null
private 'tableOffset' (FontLib\TrueType\File) => int 0
protected 'directory' =>
array (size=13)
'DSIG' =>
object(FontLib\WOFF\TableDirectoryEntry)[14]
public 'origLength' => int 8
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'DSIG' (length=4)
public 'checksum' => int 2
public 'offset' => int 564
public 'length' => int 8
protected 'origF' => null
protected 'f' => resource(23, stream)
'GPOS' =>
object(FontLib\WOFF\TableDirectoryEntry)[13]
public 'origLength' => int 22054
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'GPOS' (length=4)
public 'checksum' => int 1373443
public 'offset' => int 572
public 'length' => int 22054
protected 'origF' => null
protected 'f' => resource(23, stream)
'GSUB' =>
object(FontLib\WOFF\TableDirectoryEntry)[12]
public 'origLength' => int 4694
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'GSUB' (length=4)
public 'checksum' => int 10243758
public 'offset' => int 22626
public 'length' => int 4694
protected 'origF' => null
protected 'f' => resource(23, stream)
'OS/2' =>
object(FontLib\WOFF\TableDirectoryEntry)[11]
public 'origLength' => int 96
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'OS/2' (length=4)
public 'checksum' => int 7144605
public 'offset' => int 27320
public 'length' => int 96
protected 'origF' => null
protected 'f' => resource(23, stream)
'cmap' =>
object(FontLib\WOFF\TableDirectoryEntry)[10]
public 'origLength' => int 1536
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'cmap' (length=4)
public 'checksum' => int 7280427
public 'offset' => int 27416
public 'length' => int 1536
protected 'origF' => null
protected 'f' => resource(23, stream)
'glyf' =>
object(FontLib\WOFF\TableDirectoryEntry)[9]
public 'origLength' => int 47538
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'glyf' (length=4)
public 'checksum' => int 10986607
public 'offset' => int 28952
public 'length' => int 47538
protected 'origF' => null
protected 'f' => resource(23, stream)
'head' =>
object(FontLib\WOFF\TableDirectoryEntry)[8]
public 'origLength' => int 54
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'head' (length=4)
public 'checksum' => int 11239682
public 'offset' => int 76490
public 'length' => int 54
protected 'origF' => null
protected 'f' => resource(23, stream)
'hhea' =>
object(FontLib\WOFF\TableDirectoryEntry)[7]
public 'origLength' => int 36
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'hhea' (length=4)
public 'checksum' => int 495702
public 'offset' => int 76544
public 'length' => int 36
protected 'origF' => null
protected 'f' => resource(23, stream)
'hmtx' =>
object(FontLib\WOFF\TableDirectoryEntry)[6]
public 'origLength' => int 2134
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'hmtx' (length=4)
public 'checksum' => int 9295330
public 'offset' => int 76580
public 'length' => int 2134
protected 'origF' => null
protected 'f' => resource(23, stream)
'loca' =>
object(FontLib\WOFF\TableDirectoryEntry)[5]
public 'origLength' => int 1080
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'loca' (length=4)
public 'checksum' => int 10299607
public 'offset' => int 78714
public 'length' => int 1080
protected 'origF' => null
protected 'f' => resource(23, stream)
'maxp' =>
object(FontLib\WOFF\TableDirectoryEntry)[4]
public 'origLength' => int 32
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'maxp' (length=4)
public 'checksum' => int 272213
public 'offset' => int 79794
public 'length' => int 32
protected 'origF' => null
protected 'f' => resource(23, stream)
'name' =>
object(FontLib\WOFF\TableDirectoryEntry)[3]
public 'origLength' => int 2124
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'name' (length=4)
public 'checksum' => int 11374046
public 'offset' => int 79826
public 'length' => int 2124
protected 'origF' => null
protected 'f' => resource(23, stream)
'post' =>
object(FontLib\WOFF\TableDirectoryEntry)[17]
public 'origLength' => int 4014
protected 'font' =>
&object(FontLib\WOFF\File)[2]
protected 'font_table' => null
public 'entryLength' => int 4
public 'tag' => string 'post' (length=4)
public 'checksum' => int 16360513
public 'offset' => int 81950
public 'length' => int 4014
protected 'origF' => null
protected 'f' => resource(23, stream)
protected 'data' =>
array (size=0)
empty
protected 'glyph_subset' =>
array (size=0)
empty
public 'glyph_all' =>
array (size=0)
empty
protected 'f' => resource(23, stream)
string 'Font Weight: ' (length=13)
null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment