diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-28 00:38:05 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-28 00:38:05 +0000 |
commit | 1a23b2c124df6830bc8a8027bd8b38ccc2c75531 (patch) | |
tree | 36998ab8a3d8d1211d5eec8069a8d84c98a96041 /pango/pango-font.h | |
parent | 62244f7210302bf7608c6130185c17d3d2e714e0 (diff) | |
download | pango-1a23b2c124df6830bc8a8027bd8b38ccc2c75531.tar.gz |
Add libgobject.
Sat May 27 20:36:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am configure.in: Add libgobject.
* pango/pango-fontmap.[ch]: GObject'ify PangoFontMap.
(Pango now requires GLib-1.3 to compile)
* pango/pangox-fontmap.c pango/pangox-private.h: Break
the fontmap code in libpangox out into a separate file.
Tue May 23 10:32:25 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Allow -1 for
the length.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index 063b0cea..62d18e44 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -31,8 +31,6 @@ extern "C" { typedef struct _PangoFontDescription PangoFontDescription; typedef struct _PangoFontClass PangoFontClass; -typedef struct _PangoFontMap PangoFontMap; -typedef struct _PangoFontMapClass PangoFontMapClass; typedef struct _PangoFontMetrics PangoFontMetrics; typedef enum { @@ -150,44 +148,6 @@ void pango_font_get_glyph_extents (PangoFont *font, * Font Map */ -struct _PangoFontMap -{ - PangoFontMapClass *klass; - - /*< private >*/ - gint ref_count; -}; - -struct _PangoFontMapClass -{ - void (*destroy) (PangoFontMap *fontmap); - PangoFont *(*load_font) (PangoFontMap *fontmap, - const PangoFontDescription *desc); - void (*list_fonts) (PangoFontMap *fontmap, - const gchar *family, - PangoFontDescription ***descs, - int *n_descs); - void (*list_families) (PangoFontMap *fontmap, - gchar ***families, - int *n_families); -}; - -void pango_font_map_init (PangoFontMap *fontmap); -void pango_font_map_ref (PangoFontMap *fontmap); -void pango_font_map_unref (PangoFontMap *fontmap); -PangoFont *pango_font_map_load_font (PangoFontMap *fontmap, - const PangoFontDescription *desc); - -void pango_font_map_list_fonts (PangoFontMap *fontmap, - const gchar *family, - PangoFontDescription ***descs, - int *n_descs); -void pango_font_map_list_families (PangoFontMap *fontmap, - gchar ***families, - int *n_families); -void pango_font_map_free_families (gchar **families, - int n_families); - #ifdef __cplusplus } #endif /* __cplusplus */ |