summaryrefslogtreecommitdiff
path: root/pango/pangoft2.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-08-08 14:55:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-08-08 14:55:40 +0000
commitb73b08516c8c86234c8a35b05f7b2204e7ab10de (patch)
tree175fe06f0c5e5fdc7a603f68579516434de50773 /pango/pangoft2.h
parent82355601bff8ff93768ca4ec33b79a059a87f3da (diff)
downloadpango-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.h')
-rw-r--r--pango/pangoft2.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h
index da5cf3fb..e8ba820f 100644
--- a/pango/pangoft2.h
+++ b/pango/pangoft2.h
@@ -44,10 +44,6 @@ typedef void (*PangoFT2SubstituteFunc) (FcPattern *pattern,
gpointer data);
/* Calls for applications */
-PangoContext *pango_ft2_get_context (double dpi_x,
- double dpi_y);
-PangoFontMap *pango_ft2_font_map_for_display (void);
-void pango_ft2_shutdown_display (void);
void pango_ft2_render (FT_Bitmap *bitmap,
@@ -81,6 +77,11 @@ PangoContext *pango_ft2_font_map_create_context (PangoFT2FontMap
/* API for rendering modules
*/
#ifndef PANGO_DISABLE_DEPRECATED
+PangoContext *pango_ft2_get_context (double dpi_x,
+ double dpi_y);
+PangoFontMap *pango_ft2_font_map_for_display (void);
+void pango_ft2_shutdown_display (void);
+
PangoGlyph pango_ft2_get_unknown_glyph (PangoFont *font);
int pango_ft2_font_get_kerning (PangoFont *font,
PangoGlyph left,