Function
PangoFcFontdescription_from_pattern
Declaration [src]
PangoFontDescription*
pango_fc_font_description_from_pattern (
  FcPattern* pattern,
  gboolean include_size
)
Description [src]
Creates a PangoFontDescription that matches the specified
Fontconfig pattern as closely as possible.
Many possible Fontconfig pattern values, such as FC_RASTERIZER
or FC_DPI, don’t make sense in the context of PangoFontDescription,
so will be ignored.
| Available since: | 1.4 | 
Parameters
| pattern | FcPattern | 
| A  | |
| The data is owned by the caller of the function. | |
| include_size | gboolean | 
| If  | 
Return value
| Returns: | PangoFontDescription | 
| A new  | |
| The caller of the function takes ownership of the data, and is responsible for freeing it. |