Cairo
PHP Manual

The CairoToyFontFace class

Introduction

The CairoToyFontFace class can be used instead of CairoContext::selectFontFace to create a toy font independently of a context.

Class synopsis

CairoToyFontFace
CairoToyFontFace extends CairoFontFace {
/* Inherited methods */
}

Cairo
PHP Manual