Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__construct ( string $font ) : |
Constructor |
Method | Description | |
---|---|---|
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. |
public __construct ( string $font ) : |
||
$font | string | |
return |
protected convertToHex ( ) : void | ||
return | void |