Output extends OutFont
in package
Com\Tecnick\Pdf\Font\Output
Tags
Table of Contents
Methods
- __construct() : mixed
- Initialize font data
- getFontsBlock() : string
- Returns the PDF fonts block
- getObjectNumber() : int
- Returns current PDF object number
- getOutFontDict() : string
- Get the PDF output string for Font resources dictionary.
- getOutFontDictByKeys() : string
- Get the PDF output string for XOBject Font resources dictionary.
Methods
__construct()
Initialize font data
public __construct(array<string,
TFontData> $fonts,
int $pon,
Encrypt $encrypt)
: mixed
Parameters
- $fonts : array<string, TFontData>
-
Array of imported fonts data
- $pon : int
-
Current PDF Object Number
- $encrypt : Encrypt
-
Encrypt object
getFontsBlock()
Returns the PDF fonts block
public getFontsBlock()
: string
Return values
stringgetObjectNumber()
Returns current PDF object number
public getObjectNumber()
: int
Return values
intgetOutFontDict()
Get the PDF output string for Font resources dictionary.
public getOutFontDict()
: string
Return values
stringgetOutFontDictByKeys()
Get the PDF output string for XOBject Font resources dictionary.
public getOutFontDictByKeys(array<string|int,
string> $keys)
: string
Parameters
- $keys : array<string|int, string>
-
Array of font keys.