Class XPDFFont - Stefanius67/XFPDF GitHub Wiki
Full name: \SKien\XFPDF\XPDFFont
Helper class to hold information for a font in a pdf document
History
- 2020-11-18 Moved into a separate file to correspond to PSR-0 / PSR-4 (one file per class)
- 2020-11-18 set namespace to fit PSR-4 recommendations for autoloading.
- 2020-11-18 added missing PHP 7.4 type hints / docBlock changes
Overview
Method | Description |
---|---|
iSize | |
strFontname | |
strStyle | |
__construct | Creates a Font-object |
Methods
__construct
Creates a Font-object
public XPDFFont::__construct(string $strFontname, string $strStyle, int $iSize)
Parameters:
Parameter | Type | Description |
---|---|---|
strFontname |
string | |
strStyle |
string | 'B', 'I' or 'BI' |
iSize |
int |
go to top(#xpdffont)