diff options
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 6c5492ad..01520cb4 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -1067,3 +1067,19 @@ pango_fc_font_get_languages (PangoFcFont *font) return languages; } + +/** + * pango_fc_font_get_pattern: + * @font: a #PangoFcFont + * + * Returns the FcPattern that @font is based on. + * + * Returns: the fontconfig pattern for this font + * + * Since: 1.48 + */ +FcPattern * +pango_fc_font_get_pattern (PangoFcFont *font) +{ + return font->font_pattern; +} |