diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-05-22 20:10:08 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-22 20:10:08 +0000 |
commit | ec8d35bf511a8dcdd612850917e1e9ae9b36e1d0 (patch) | |
tree | f53a6154f829fc6ff81f278d7176c84ce4c290af /pango/pango-font.h | |
parent | f9697a634b7267fa0743e47561c28b3ca3ae226b (diff) | |
download | pango-ec8d35bf511a8dcdd612850917e1e9ae9b36e1d0.tar.gz |
New function pango_font_describe_with_absolute_size().
2006-05-22 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-font.h, pango/fonts.c: New function
pango_font_describe_with_absolute_size().
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
* pango/pangocairo-win32font.c (create_metrics_for_context):
* pango/pangofc-font.c (pango_fc_font_class_init),
(pango_fc_font_describe_absolute),
(pango_fc_font_create_metrics_for_context):
* pango/pangowin32.c (pango_win32_font_class_init),
(pango_win32_font_get_metrics), (pango_win32_font_describe),
(pango_win32_font_describe_absolute): Implement and use
PangoFontClass->describe_absolute.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index 58d796ab..5b30c4ca 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -304,6 +304,7 @@ struct _PangoFontFaceClass GType pango_font_get_type (void) G_GNUC_CONST; PangoFontDescription *pango_font_describe (PangoFont *font); +PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font); PangoCoverage * pango_font_get_coverage (PangoFont *font, PangoLanguage *language); PangoEngineShape * pango_font_find_shaper (PangoFont *font, @@ -349,12 +350,12 @@ struct _PangoFontClass PangoFontMetrics * (*get_metrics) (PangoFont *font, PangoLanguage *language); PangoFontMap * (*get_font_map) (PangoFont *font); + PangoFontDescription *(*describe_absolute) (PangoFont *font); /*< private >*/ /* Padding for future expansion */ void (*_pango_reserved1) (void); void (*_pango_reserved2) (void); - void (*_pango_reserved3) (void); }; /* used for very rare and miserable situtations that we cannot even |