FontWriter
in package
uses
Strict
Table of Contents
Properties
- $fontCache : FontCache
- $fontDescriptor : string
- $mpdf : Mpdf
- $writer : BaseWriter
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __get() : mixed
- __isset() : mixed
- __set() : mixed
- __unset() : mixed
- writeFonts() : mixed
- writeType0() : mixed
- writeFontRanges() : mixed
- writeFontWidths() : mixed
- writeTTFontWidths() : mixed
Properties
$fontCache
private
FontCache
$fontCache
$fontDescriptor
private
string
$fontDescriptor
$mpdf
private
Mpdf
$mpdf
$writer
private
BaseWriter
$writer
Methods
__call()
public
__call(string $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : string
-
method name
- $args : array<string|int, mixed>
-
arguments
__callStatic()
public
static __callStatic(string $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : string
-
lowercase method name
- $args : array<string|int, mixed>
-
arguments
__construct()
public
__construct(Mpdf $mpdf, BaseWriter $writer, FontCache $fontCache, mixed $fontDescriptor) : mixed
Parameters
- $mpdf : Mpdf
- $writer : BaseWriter
- $fontCache : FontCache
- $fontDescriptor : mixed
__get()
public
& __get(string $name) : mixed
Parameters
- $name : string
-
property name
__isset()
public
__isset(string $name) : mixed
Parameters
- $name : string
-
property name
Tags
__set()
public
__set(string $name, mixed $value) : mixed
Parameters
- $name : string
-
property name
- $value : mixed
-
property value
__unset()
public
__unset(string $name) : mixed
Parameters
- $name : string
-
property name
Tags
writeFonts()
public
writeFonts() : mixed
writeType0()
public
writeType0(mixed &$font) : mixed
Parameters
- $font : mixed
writeFontRanges()
private
writeFontRanges(mixed &$range) : mixed
Parameters
- $range : mixed
writeFontWidths()
private
writeFontWidths(mixed &$font[, mixed $cidoffset = 0 ]) : mixed
Parameters
- $font : mixed
- $cidoffset : mixed = 0
writeTTFontWidths()
private
writeTTFontWidths(mixed &$font, mixed $asSubset, mixed $maxUni) : mixed
Parameters
- $font : mixed
- $asSubset : mixed
- $maxUni : mixed