PHP - Manual: CairoToyFontFace
2024-12-27
(PECL cairo >= 0.1.0)
The CairoToyFontFace class can be used instead of CairoContext::selectFontFace() to create a toy font independently of a context.
官方地址:https://www.php.net/manual/en/class.cairotoyfontface.php