Font

Function Prototype

Font(string $fontName): self

string $fontName

font name, font must exist in this machine

Example

$format = new \Vtiful\Kernel\Format($fileHandle);
$fontStyle = $format->font('FontName')->toResource();

Last updated