PHP 클래스 TTFontFile, TeamPass

파일 보기 프로젝트 열기: nilsteampassnet/TeamPass 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_pos
$ascent
$bbox
$capHeight
$charToGlyph
$charWidths
$defaultWidth
$descent
$entrySelector
$familyName
$fh
$filename
$flags
$fullName
$glyphPos
$hmetrics
$italicAngle
$maxStrLenRead
$maxUni
$name
$numTables
$otables
$rangeShift
$searchRange
$stemV
$styleName
$tables
$underlinePosition
$underlineThickness
$uniqueFontID
$unitsPerEm

공개 메소드들

메소드 설명
__construct ( )
_set_short ( $stream, $offset, $val )
_set_ushort ( $stream, $offset, $value )
add ( $tag, $data )
calcChecksum ( $data )
endTTFile ( &$stm ) Put the TTF file together
extractInfo ( )
getCMAP4 ( $unicode_cmap_offset, &$glyphToChar, &$charToGlyph ) CMAP Format 4
getGlyphData ( $originalGlyphIdx, &$maxdepth, &$depth, &$points, &$contours ) Recursively get composite glyph data
getGlyphs ( $originalGlyphIdx, &$start, &$glyphSet, &$subsetglyphs ) Recursively get composite glyphs
getHMTX ( $numberOfHMetrics, $numGlyphs, &$glyphToChar, $scale )
getHMetric ( $numberOfHMetrics, $gid )
getLOCA ( $indexToLocFormat, $numGlyphs )
getMetrics ( $file )
get_chunk ( $pos, $length )
get_table ( $tag )
get_table_pos ( $tag )
get_ulong ( $pos )
get_ushort ( $pos )
makeSubset ( $file, &$subset )
pack_short ( $val )
readTableDirectory ( )
read_short ( )
read_tag ( )
read_ulong ( )
read_ushort ( )
seek ( $pos )
seek_table ( $tag, $offset_in_table )
skip ( $delta )
splice ( $stream, $offset, $value )
sub32 ( $x, $y )
unpack_short ( $s )

메소드 상세

__construct() 공개 메소드

public __construct ( )

_set_short() 공개 메소드

public _set_short ( $stream, $offset, $val )

_set_ushort() 공개 메소드

public _set_ushort ( $stream, $offset, $value )

add() 공개 메소드

public add ( $tag, $data )

calcChecksum() 공개 메소드

public calcChecksum ( $data )

endTTFile() 공개 메소드

Put the TTF file together
public endTTFile ( &$stm )

extractInfo() 공개 메소드

public extractInfo ( )

getCMAP4() 공개 메소드

CMAP Format 4
public getCMAP4 ( $unicode_cmap_offset, &$glyphToChar, &$charToGlyph )

getGlyphData() 공개 메소드

Recursively get composite glyph data
public getGlyphData ( $originalGlyphIdx, &$maxdepth, &$depth, &$points, &$contours )

getGlyphs() 공개 메소드

Recursively get composite glyphs
public getGlyphs ( $originalGlyphIdx, &$start, &$glyphSet, &$subsetglyphs )

getHMTX() 공개 메소드

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

getHMetric() 공개 메소드

public getHMetric ( $numberOfHMetrics, $gid )

getLOCA() 공개 메소드

public getLOCA ( $indexToLocFormat, $numGlyphs )

getMetrics() 공개 메소드

public getMetrics ( $file )

get_chunk() 공개 메소드

public get_chunk ( $pos, $length )

get_table() 공개 메소드

public get_table ( $tag )

get_table_pos() 공개 메소드

public get_table_pos ( $tag )

get_ulong() 공개 메소드

public get_ulong ( $pos )

get_ushort() 공개 메소드

public get_ushort ( $pos )

makeSubset() 공개 메소드

public makeSubset ( $file, &$subset )

pack_short() 공개 메소드

public pack_short ( $val )

readTableDirectory() 공개 메소드

public readTableDirectory ( )

read_short() 공개 메소드

public read_short ( )

read_tag() 공개 메소드

public read_tag ( )

read_ulong() 공개 메소드

public read_ulong ( )

read_ushort() 공개 메소드

public read_ushort ( )

seek() 공개 메소드

public seek ( $pos )

seek_table() 공개 메소드

public seek_table ( $tag, $offset_in_table )

skip() 공개 메소드

public skip ( $delta )

splice() 공개 메소드

public splice ( $stream, $offset, $value )

sub32() 공개 메소드

public sub32 ( $x, $y )

unpack_short() 공개 메소드

public unpack_short ( $s )

프로퍼티 상세

$_pos 공개적으로 프로퍼티

public $_pos

$ascent 공개적으로 프로퍼티

public $ascent

$bbox 공개적으로 프로퍼티

public $bbox

$capHeight 공개적으로 프로퍼티

public $capHeight

$charToGlyph 공개적으로 프로퍼티

public $charToGlyph

$charWidths 공개적으로 프로퍼티

public $charWidths

$defaultWidth 공개적으로 프로퍼티

public $defaultWidth

$descent 공개적으로 프로퍼티

public $descent

$entrySelector 공개적으로 프로퍼티

public $entrySelector

$familyName 공개적으로 프로퍼티

public $familyName

$fh 공개적으로 프로퍼티

public $fh

$filename 공개적으로 프로퍼티

public $filename

$flags 공개적으로 프로퍼티

public $flags

$fullName 공개적으로 프로퍼티

public $fullName

$glyphPos 공개적으로 프로퍼티

public $glyphPos

$hmetrics 공개적으로 프로퍼티

public $hmetrics

$italicAngle 공개적으로 프로퍼티

public $italicAngle

$maxStrLenRead 공개적으로 프로퍼티

public $maxStrLenRead

$maxUni 공개적으로 프로퍼티

public $maxUni

$name 공개적으로 프로퍼티

public $name

$numTables 공개적으로 프로퍼티

public $numTables

$otables 공개적으로 프로퍼티

public $otables

$rangeShift 공개적으로 프로퍼티

public $rangeShift

$searchRange 공개적으로 프로퍼티

public $searchRange

$stemV 공개적으로 프로퍼티

public $stemV

$styleName 공개적으로 프로퍼티

public $styleName

$tables 공개적으로 프로퍼티

public $tables

$underlinePosition 공개적으로 프로퍼티

public $underlinePosition

$underlineThickness 공개적으로 프로퍼티

public $underlineThickness

$uniqueFontID 공개적으로 프로퍼티

public $uniqueFontID

$unitsPerEm 공개적으로 프로퍼티

public $unitsPerEm