set_face


Description:

[ Version ( since = "1.4.3" ) ]
public void set_face (Face face)

Sets face as the font-face value of font.

Note:

Use create instead.

Font functions and their data may hold pointers into the old face, so the font functions of font are released and replaced with the default ones for face, as create would set up. Other font properties, such as scale and variations, are kept.

Parameters:

face

The Face to assign

font

Font to work upon