package cairo2
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Cairo.Ft
Source
A minimal Interface to FreeType/Fontconfig. Functions in this module will raie Unavailable
if Cairo has not been compiled with FreeType support (and fonconfig is available). This module is not thread safe.
A FreeType face.
A FreeType library value.
init_freetype()
Initialize a new FreeType library value. In multi-threaded applications it is recommended to use a different library value for each thread.
face pathname
open the face contained in the pathname
.
create_for_ft_face face
create a new font face for the FreeType font backend from a FreeType face
.
create_for_pattern pattern
creates a new font face for the FreeType font backend based on a fontconfig pattern
(in text form).
scaled_font_unlock_face font
releases a face obtained with scaled_font_lock_face
.