Свойство | Тип | Описание | |
---|---|---|---|
$compress | boolean | Font compress flag | |
$font | mixed | Font object | |
$fontDescIndex | integer | Font descriptor index | |
$fontFileIndex | integer | Font file index | |
$fontIndex | integer | Font reference index | |
$objectIndex | integer | Font object index | |
$objects | array | Font objects |
Метод | Описание | |
---|---|---|
__construct ( string $fle, integer $fi, integer $oi, boolean $comp = false ) : |
Constructor | |
getFontName ( ) : string | Method to get the font name. | |
getFontRef ( ) : string | Method to get the font reference. | |
getObjects ( ) : array | Method to get the font objects. | |
isEmbeddable ( ) : boolean | Method to get if the font is embeddable. |
Метод | Описание | |
---|---|---|
calcByteLength ( string $str ) : integer | Method to calculate byte length. | |
createFontObjects ( ) : void | Method to create the font objects. | |
getGlyphWidths ( |
Method to to get the glyph widths |
protected calcByteLength ( string $str ) : integer | ||
$str | string | |
Результат | integer |
protected createFontObjects ( ) : void | ||
Результат | void |
public getFontName ( ) : string | ||
Результат | string |
public getFontRef ( ) : string | ||
Результат | string |
protected getGlyphWidths ( |
||
$cmap | ||
Результат | array |
public getObjects ( ) : array | ||
Результат | array |
public isEmbeddable ( ) : boolean | ||
Результат | boolean |
protected int $fontDescIndex | ||
Результат | integer |