Name
cscaledfont:GetFontFace -- get font face
Synopsis
font = cscaledfont:GetFontFace()
Function
Gets the font face that this scaled font uses. This might be the font face passed to cairo.ScaledFont(), but this does not hold true for all possible cases.

This function returns the Cairo font face with which the scaled font was created. This object is owned by cairo. To keep a reference to it, you must call cscaledfont:Reference().

Inputs
none

Results
font
the Cairo font face with which the scaled font was created

Show TOC