Properties

$unAGlyphs

$unAGlyphs

$panose

$panose

$maxUni

$maxUni

$sFamilyClass

$sFamilyClass

$sFamilySubClass

$sFamilySubClass

$sipset

$sipset

$smpset

$smpset

$_pos

$_pos

$numTables

$numTables

$searchRange

$searchRange

$entrySelector

$entrySelector

$rangeShift

$rangeShift

$tables

$tables

$otables

$otables

$filename

$filename

$fh

$fh

$glyphPos

$glyphPos

$charToGlyph

$charToGlyph

$ascent

$ascent

$descent

$descent

$name

$name

$familyName

$familyName

$styleName

$styleName

$fullName

$fullName

$uniqueFontID

$uniqueFontID

$unitsPerEm

$unitsPerEm

$bbox

$bbox

$capHeight

$capHeight

$stemV

$stemV

$italicAngle

$italicAngle

$flags

$flags

$underlinePosition

$underlinePosition

$underlineThickness

$underlineThickness

$charWidths

$charWidths

$defaultWidth

$defaultWidth

$maxStrLenRead

$maxStrLenRead

$numTTCFonts

$numTTCFonts

$TTCFonts

$TTCFonts

$maxUniChar

$maxUniChar

$kerninfo

$kerninfo

Methods

extractCoreInfo()

extractCoreInfo( $file,  $TTCfontID)

Parameters

$file
$TTCfontID

TTFontFile()

TTFontFile()

getMetrics()

getMetrics( $file,  $TTCfontID,  $debug,  $BMPonly,  $kerninfo,  $unAGlyphs)

Parameters

$file
$TTCfontID
$debug
$BMPonly
$kerninfo
$unAGlyphs

readTableDirectory()

readTableDirectory( $debug)

Parameters

$debug

checksumTables()

checksumTables()

sub32()

sub32( $x,  $y)

Parameters

$x
$y

calcChecksum()

calcChecksum( $data)

Parameters

$data

get_table_pos()

get_table_pos( $tag)

Parameters

$tag

seek()

seek( $pos)

Parameters

$pos

skip()

skip( $delta)

Parameters

$delta

seek_table()

seek_table( $tag,  $offset_in_table)

Parameters

$tag
$offset_in_table

read_tag()

read_tag()

read_short()

read_short()

unpack_short()

unpack_short( $s)

Parameters

$s

read_ushort()

read_ushort()

read_ulong()

read_ulong()

get_ushort()

get_ushort( $pos)

Parameters

$pos

get_ulong()

get_ulong( $pos)

Parameters

$pos

pack_short()

pack_short( $val)

Parameters

$val

splice()

splice( $stream,  $offset,  $value)

Parameters

$stream
$offset
$value

_set_ushort()

_set_ushort( $stream,  $offset,  $value)

Parameters

$stream
$offset
$value

_set_short()

_set_short( $stream,  $offset,  $val)

Parameters

$stream
$offset
$val

get_chunk()

get_chunk( $pos,  $length)

Parameters

$pos
$length

get_table()

get_table( $tag)

Parameters

$tag

add()

add( $tag,  $data)

Parameters

$tag
$data

getCTG()

getCTG( $file,  $TTCfontID,  $debug,  $unAGlyphs)

Parameters

$file
$TTCfontID
$debug
$unAGlyphs

getTTCFonts()

getTTCFonts( $file)

Parameters

$file

extractInfo()

extractInfo( $debug,  $BMPonly,  $kerninfo)

Parameters

$debug
$BMPonly
$kerninfo

makeSubset()

makeSubset( $file,  $subset,  $TTCfontID,  $debug,  $unAGlyphs)

Parameters

$file
$subset
$TTCfontID
$debug
$unAGlyphs

makeSubsetSIP()

makeSubsetSIP( $file,  $subset,  $TTCfontID,  $debug)

Parameters

$file
$subset
$TTCfontID
$debug

getGlyphData()

getGlyphData( $originalGlyphIdx,  $maxdepth,  $depth,  $points,  $contours)

Parameters

$originalGlyphIdx
$maxdepth
$depth
$points
$contours

getGlyphs()

getGlyphs( $originalGlyphIdx,  $start,  $glyphSet,  $subsetglyphs)

Parameters

$originalGlyphIdx
$start
$glyphSet
$subsetglyphs

getHMTX()

getHMTX( $numberOfHMetrics,  $numGlyphs,  $glyphToChar,  $scale)

Parameters

$numberOfHMetrics
$numGlyphs
$glyphToChar
$scale

getHMetric()

getHMetric( $numberOfHMetrics,  $gid)

Parameters

$numberOfHMetrics
$gid

getLOCA()

getLOCA( $indexToLocFormat,  $numGlyphs)

Parameters

$indexToLocFormat
$numGlyphs

getCMAP4()

getCMAP4( $unicode_cmap_offset,  $glyphToChar,  $charToGlyph)

Parameters

$unicode_cmap_offset
$glyphToChar
$charToGlyph

endTTFile()

endTTFile( $stm)

Parameters

$stm

repackageTTF()

repackageTTF( $file,  $TTCfontID,  $debug,  $unAGlyphs)

Parameters

$file
$TTCfontID
$debug
$unAGlyphs