ATSUI Fonts

ATSUI Fonts — Font handling with ATSUI fonts

Synopsis

#define             PANGO_RENDER_TYPE_ATSUI
CGFontRef           pango_atsui_font_get_cgfont         (PangoATSUIFont *font);
ATSFontRef          pango_atsui_font_get_atsfont        (PangoATSUIFont *font);

Description

The macros and functions in this section are used to access fonts natively on MacOS systems using the ATSUI text rendering subsystem.

Details

PANGO_RENDER_TYPE_ATSUI

#define PANGO_RENDER_TYPE_ATSUI "PangoRenderATSUI"

A string constant identifying the ATSUI renderer. The associated quark (see g_quark_from_string()) is used to identify the renderer in pango_find_map().


pango_atsui_font_get_cgfont ()

CGFontRef           pango_atsui_font_get_cgfont         (PangoATSUIFont *font);

Returns the CGFontRef of a font.

font :

A PangoATSUIFont

Returns :

the CGFontRef associated to font.

Since 1.18


pango_atsui_font_get_atsfont ()

ATSFontRef          pango_atsui_font_get_atsfont        (PangoATSUIFont *font);

Returns the ATSFontRef of a font.

font :

A PangoATSUIFont

Returns :

the ATSFontRef associated to font.

Since 1.28