TrueTypeParser
in package
Table of Contents
Methods
- __construct() : mixed
- fromBytes() : self
- Create a parser from raw font bytes instead of a file path.
- parse() : TrueTypeData
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
fromBytes()
Create a parser from raw font bytes instead of a file path.
public
static fromBytes(string $fontBytes) : self
Parameters
- $fontBytes : string
Return values
selfparse()
public
parse() : TrueTypeData