diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-08-08 14:55:40 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-08-08 14:55:40 +0000 |
commit | b73b08516c8c86234c8a35b05f7b2204e7ab10de (patch) | |
tree | 175fe06f0c5e5fdc7a603f68579516434de50773 /pango/pangoft2-fontmap.c | |
parent | 82355601bff8ff93768ca4ec33b79a059a87f3da (diff) | |
download | pango-b73b08516c8c86234c8a35b05f7b2204e7ab10de.tar.gz |
Deprecate pango_ft2_get_context(), pango_ft2_font_map_for_display(),
Fri Aug 8 10:33:31 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2.h: Deprecate pango_ft2_get_context(),
pango_ft2_font_map_for_display(), pango_ft2_shutdown_display();
the explicit
* pango/pangoft2-fontmap.c (pango_ft2_shutdown_display):
Add docs about deprecations.
* examples/Makefile.am (INCLUDES): Add -DPANGO_DISABLE_DEPRECATED
* examples/pangoft2topgm.c: Fix deprecated usages; add
--dpi and --markup options. Improve error handling.
Diffstat (limited to 'pango/pangoft2-fontmap.c')
-rw-r--r-- | pango/pangoft2-fontmap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c index 1abc5a0d..bd49ec58 100644 --- a/pango/pangoft2-fontmap.c +++ b/pango/pangoft2-fontmap.c @@ -265,7 +265,7 @@ pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap) * (see pango_ft2_fontmap_get_for_display()) and sets the resolution * for the default fontmap to @dpi_x by @dpi_y. * - * Use of this function is discouraged, see pango_ft2_fontmap_create_context() + * Use of this function is deprecated; see pango_ft2_fontmap_create_context() * instead. * * Return value: the new #PangoContext @@ -286,7 +286,9 @@ pango_ft2_get_context (double dpi_x, double dpi_y) * * Returns a #PangoFT2FontMap. This font map is cached and should * not be freed. If the font map is no longer needed, it can - * be released with pango_ft2_shutdown_display(). + * be released with pango_ft2_shutdown_display(). Use of the + * global PangoFT2 fontmap is deprecated; use pango_ft2_font_map_new() + * instead. * * Returns: a #PangoFT2FontMap. **/ @@ -305,6 +307,7 @@ pango_ft2_font_map_for_display (void) * pango_ft2_shutdown_display: * * Free the global fontmap. (See pango_ft2_font_map_for_display()) + * Use of the global PangoFT2 fontmap is deprecated. **/ void pango_ft2_shutdown_display (void) |