manpagez: man pages & more
html files: goffice-0.10
Home | html | info | man

GOFont

GOFont

Object Hierarchy

    GBoxed
    ├── GOFont
    ╰── GOFontMetrics

Description

Functions

go_font_as_str ()

char *
go_font_as_str (GOFont const *font);

Returns


go_font_cache_register ()

void
go_font_cache_register (GClosure *callback);


go_font_cache_unregister ()

void
go_font_cache_unregister (GClosure *callback);


go_font_eq ()

gboolean
go_font_eq (GOFont const *a,
            GOFont const *b);

Returns


go_font_metrics_free ()

void
go_font_metrics_free (GOFontMetrics *metrics);


go_font_metrics_new ()

GOFontMetrics *
go_font_metrics_new (PangoContext *context,
                     GOFont const *font);

Returns


go_font_new_by_desc ()

GOFont const *
go_font_new_by_desc (PangoFontDescription *desc);

NOTE : Absorbs desc .

Parameters

desc

PangoFontDescription.

[transfer full]

Returns

a ref to a font that matches desc .


go_font_new_by_index ()

GOFont const *
go_font_new_by_index (unsigned  i);

Returns


go_font_new_by_name ()

GOFont const *
go_font_new_by_name (char const *str);

Returns


go_font_ref ()

GOFont const *
go_font_ref (GOFont const *font);

Returns


go_font_unref ()

void
go_font_unref (GOFont const *font);


go_fonts_list_families ()

GSList *
go_fonts_list_families (PangoContext *context);

Parameters

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]


go_fonts_list_sizes ()

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]

Types and Values

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.