Method
PangoFcFontMapadd_decoder_find_func
Declaration [src]
void
pango_fc_font_map_add_decoder_find_func (
PangoFcFontMap* fcfontmap,
PangoFcDecoderFindFunc findfunc,
gpointer user_data,
GDestroyNotify dnotify
)
Description [src]
This function saves a callback method in the PangoFcFontMap that
will be called whenever new fonts are created.
If the function returns a PangoFcDecoder, that decoder will be used
to determine both coverage via a FcCharSet and a one-to-one mapping
of characters to glyphs. This will allow applications to have
application-specific encodings for various fonts.
| Available since: | 1.6 |
| This method is not directly available to language bindings. |
Parameters
findfunc-
Type:
PangoFcDecoderFindFuncThe
PangoFcDecoderFindFunccallback function. user_data-
Type:
gpointerUser data.
The argument can be NULL.The data is owned by the caller of the function. dnotify-
Type:
GDestroyNotifyA
GDestroyNotifycallback that will be called when the fontmap is finalized and the decoder is released.