| Top |
| GOFont const * | go_font_new_by_name () |
| GOFont const * | go_font_new_by_desc () |
| GOFont const * | go_font_new_by_index () |
| GOFont const * | go_font_ref () |
| void | go_font_unref () |
| char * | go_font_as_str () |
| void | go_font_cache_register () |
| void | go_font_cache_unregister () |
| gboolean | go_font_eq () |
| GOFontMetrics * | go_font_metrics_new () |
| void | go_font_metrics_free () |
| GSList * | go_fonts_list_families () |
| GSList * | go_fonts_list_sizes () |
GOFont const *
go_font_new_by_desc (PangoFontDescription *desc);
NOTE : Absorbs desc
.
GOFontMetrics * go_font_metrics_new (PangoContext *context,GOFont const *font);
typedef struct {
int ref_count;
int font_index; /* each renderer keeps an array for lookup */
PangoFontDescription *desc;
/* Attributes. Currently unused. */
int underline;
gboolean strikethrough;
GOColor color;
} GOFont;
typedef struct {
int digit_widths[10];
int min_digit_width;
int max_digit_width;
int avg_digit_width;
int hyphen_width, minus_width, plus_width;
int E_width;
int hash_width;
int space_width;
/*
* A space that is narrower than a regular space, or 0 if no such
* character was found.
*/
gunichar thin_space;
int thin_space_width;
} GOFontMetrics;