![]() |
![]() |
![]() |
GOffice Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
char * go_font_as_str (GOFont const *font
); void go_font_cache_register (GClosure *callback
); void go_font_cache_unregister (GClosure *callback
); gboolean go_font_eq (GOFont const *a
,GOFont const *b
); void go_font_metrics_free (GOFontMetrics *metrics
); GOFontMetrics * go_font_metrics_new (PangoContext *context
,GOFont const *font
); GOFont const * go_font_new_by_desc (PangoFontDescription *desc
); GOFont const * go_font_new_by_index (unsigned i
); GOFont const * go_font_new_by_name (char const *str
); GOFont const * go_font_ref (GOFont const *font
); void go_font_unref (GOFont const *font
); GSList * go_fonts_list_families (PangoContext *context
); GSList * go_fonts_list_sizes (void
);
GOFontMetrics * go_font_metrics_new (PangoContext *context
,GOFont const *font
);
|
|
|
|
Returns : |
GOFont const * go_font_new_by_desc (PangoFontDescription *desc
);
NOTE : Absorbs desc
.
|
PangoFontDescription |
Returns : |
a ref to a font that matches desc .
|
GSList * go_fonts_list_families (PangoContext *context
);
|
PangoContext |
Returns : |
a sorted list of strings of font family names. The list and the names must be freed. [element-type char][transfer full char] |
GSList * go_fonts_list_sizes (void
);
Returns : |
a sorted list of font sizes in Pango units. The list must be freed. [element-type void][transfer container void] |