TrueType
in package
Com\Tecnick\Pdf\Font\Import\TrueType
Tags
Table of Contents
Methods
- __construct() : mixed
- Process TrueType font
- getFontMetrics() : TFontData
- Get all the extracted font metrics
- getSubGlyphs() : array<int, bool>
- Get glyphs in the subset
Methods
__construct()
Process TrueType font
public __construct(string $font,
TFontData $fdt,
Byte $fbyte[,
array<int,
bool> $subchars
= []
]) : mixed
Parameters
- $font : string
-
Content of the input font file
- $fdt : TFontData
-
Extracted font metrics
- $fbyte : Byte
-
Object used to read font bytes
- $subchars : array<int, bool> = []
-
Array containing subset chars
Tags
getFontMetrics()
Get all the extracted font metrics
public getFontMetrics()
: TFontData
Return values
TFontDatagetSubGlyphs()
Get glyphs in the subset
public getSubGlyphs()
: array<int,
bool>