PHP 클래스 Pop\Font\Type1

저자: Nick Sagona, III ([email protected])
상속: extends AbstractFont
파일 보기 프로젝트 열기: nicksagona/PopPHP

공개 프로퍼티들

프로퍼티 타입 설명
$afmPath string Type1 AFM file path
$data string Type1 data
$dict string Type1 dictionary
$encoding string Type1 encoding
$fontData string Type1 font data
$hex string Type1 data in hex format
$length1 integer Type1 length1
$length2 integer Type1 length2
$pfbPath string Type1 PFB file path

공개 메소드들

메소드 설명
__construct ( string $font ) : Type1 Constructor

보호된 메소드들

메소드 설명
convertToHex ( ) : void Method to convert the data string to hex.
parseAfm ( string $afm ) : void Method to parse the Type1 Adobe Font Metrics file
parsePfb ( string $pfb ) : void Method to parse the Type1 PFB file.
strip ( string $str ) : string Method to strip parentheses et al from a string.

메소드 상세

__construct() 공개 메소드

Instantiate a Type1 font file object based on a pre-existing font file on disk.
public __construct ( string $font ) : Type1
$font string
리턴 Type1

convertToHex() 보호된 메소드

Method to convert the data string to hex.
protected convertToHex ( ) : void
리턴 void

parseAfm() 보호된 메소드

Method to parse the Type1 Adobe Font Metrics file
protected parseAfm ( string $afm ) : void
$afm string
리턴 void

parsePfb() 보호된 메소드

Method to parse the Type1 PFB file.
protected parsePfb ( string $pfb ) : void
$pfb string
리턴 void

strip() 보호된 메소드

Method to strip parentheses et al from a string.
protected strip ( string $str ) : string
$str string
리턴 string

프로퍼티 상세

$afmPath 공개적으로 프로퍼티

Type1 AFM file path
public string $afmPath
리턴 string

$data 공개적으로 프로퍼티

Type1 data
public string $data
리턴 string

$dict 공개적으로 프로퍼티

Type1 dictionary
public string $dict
리턴 string

$encoding 공개적으로 프로퍼티

Type1 encoding
public string $encoding
리턴 string

$fontData 공개적으로 프로퍼티

Type1 font data
public string $fontData
리턴 string

$hex 공개적으로 프로퍼티

Type1 data in hex format
public string $hex
리턴 string

$length1 공개적으로 프로퍼티

Type1 length1
public int $length1
리턴 integer

$length2 공개적으로 프로퍼티

Type1 length2
public int $length2
리턴 integer

$pfbPath 공개적으로 프로퍼티

Type1 PFB file path
public string $pfbPath
리턴 string