Core

Core API reference

Namespace: Com\Tecnick\Pdf\Font\Import

class Core implements ProcessorInterface

Implements: ProcessorInterface

Source: src/Import/Core.php:39

Methods

__construct()

public __construct(string $font, TFontData $fdt, File $fileHelper)

Parameters:

  • $font (string): Content of the input font file
  • $fdt (TFontData): Extracted font metrics
  • $fileHelper (File): File helper for font loading.

Throws:

Source: src/Import/Core.php:426

getFontMetrics()

Get all the extracted font metrics

public getFontMetrics(): TFontData

Returns: TFontData

Source: src/Import/Core.php:440