:right-sidebar: True Font =================================================================== .. currentmodule:: gi.repository.PangoCairo .. versionadded:: 1.18 .. class:: Font(*args, **kwargs) :no-contents-entry: ``PangoCairoFont`` is an interface exported by fonts for use with Cairo. The actual type of the font will depend on the particular font technology Cairo was compiled to use. Methods ------- .. rst-class:: interim-class .. class:: Font :no-index: .. method:: get_scaled_font() -> ~gi.repository.cairo.ScaledFont | None Gets the ``cairo_scaled_font_t`` used by ``font``\. The scaled font can be referenced and kept using cairo_scaled_font_reference(). .. versionadded:: 1.18