Table of contents
Namespace: Com\Tecnick\Pdf\Font\Import
Implements: ProcessorInterface
File: Core.php line 39
Tags
- since: 2011-05-23
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-font
- phpstan-import-type: TFontData from \Com\Tecnick\Pdf\Font\Load
- SuppressWarnings: (“PHPMD.ExcessiveClassComplexity”)
Methods
__construct()
File: Core.php line 426
public __construct(string $font, TFontData $fdt, File $fileHelper) : mixed
Parameters
- $font : string: Content of the input font file
- $fdt : TFontData: Extracted font metrics
- $fileHelper : File: File helper for font loading.
Tags
- throws: Exception in case of error
getFontMetrics()
File: Core.php line 440
public getFontMetrics() : TFontData
Return values
TFontData