Pike v8.1 release 6

Class Image.FreeType.Face

Description

A FreeType font face. We recommend using the more generic font handling interfaces in Image.Fonts instead.


Method create

Image.FreeType.Face Image.FreeType.Face(string(8bit) font, int(0..)|void face_number)

Parameter font

The path of the font file to use

Parameter face_number

The face number within the font to load, if supported by the font format.