diff options
Diffstat (limited to 'pango/pangofc-fontmap.h')
-rw-r--r-- | pango/pangofc-fontmap.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h index 925a1467..3cc87512 100644 --- a/pango/pangofc-fontmap.h +++ b/pango/pangofc-fontmap.h @@ -67,12 +67,19 @@ struct _PangoFcFontMap * @new_font: Creates a new #PangoFcFont for the specified * pattern of the appropriate type for this font map. The * @pattern argument must be passed to the "pattern" property - * of #PangoFcFont when you call g_object_new() + * of #PangoFcFont when you call g_object_new(). Deprecated + * in favor of @create_font(). * @get_render_key: Given a context and font description, * calculate a "key" of X and Y sizes and a flags word * that can be used to hash the results of loading a font * with that information. If %NULL, a default implementation - is used. + * is used. + * @create_font: Creates a new #PangoFcFont for the specified + * pattern of the appropriate type for this font map using + * information from the context that is passed in. The + * @pattern argument must be passed to the "pattern" property + * of #PangoFcFont when you call g_object_new(). Deprecated + * in favor of @create_font(). If %NULL, new_font() is used. * * Class structure for #PangoFcFontMap. **/ |