font(string $fontName): self
字体名称,字体必须存在于本机
$format = new \Vtiful\Kernel\Format($fileHandle); $fontStyle = $format->font('FontName')->toResource();
Last updated 5 years ago