summaryrefslogtreecommitdiff
path: root/pango/pangofc-font.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-05 03:11:58 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-05 03:11:58 +0000
commit6cddbd51fe9e616847a17be379149822c88104bf (patch)
tree1bcecc7d9210c334829b439ef515585ebe297624 /pango/pangofc-font.h
parent8adcead819b6bb6781f0b01c6b17175b2918af8f (diff)
downloadpango-6cddbd51fe9e616847a17be379149822c88104bf.tar.gz
Change PANGO_GLYPH_EMPTY to 0x0FFFFFFF, to not overlap with
2006-02-04 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h: Change PANGO_GLYPH_EMPTY to 0x0FFFFFFF, to not overlap with PANGO_GLYPH_UNKNOWN_FLAG (0x10000000). Define PANGO_GET_UNKNOWN_GLYPH(wc) that simply returns wc|PANGO_GLYPH_UNKNOWN_FLAG. * docs/pango-sections.txt, docs/tmpl/glyphs.sgml: Document new symbols. * modules/*/*.c: Use PANGO_GET_UNKNOWN_GLYPH instead of various backend-specific functions. * pango/pangofc-font.c, pango/pangoft.c, pango/pangoxft-font.c, * pango/pangowin32.c, pango/pangox.c: Suggest using PANGO_GET_UNKNOWN_GLYPH in docs. * pango/pangofc-font.h: Deprecate pango_fc_font_get_unknown_glyph(). * pango/pangowin32.h: Deprecate pango_win32_get_unknown_glyph().
Diffstat (limited to 'pango/pangofc-font.h')
-rw-r--r--pango/pangofc-font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangofc-font.h b/pango/pangofc-font.h
index 198fb7c6..7b5bc4a3 100644
--- a/pango/pangofc-font.h
+++ b/pango/pangofc-font.h
@@ -96,6 +96,7 @@ struct _PangoFcFont
* @get_unknown_glyph: Gets the glyph that should be used to
* display an unknown-glyph indication for the specified
* Unicode character.
+ * May be %NULL.
* @shutdown: Performs any font-specific shutdown code that
* needs to be done when pango_fc_font_map_shutdown is called.
* May be %NULL.
@@ -132,8 +133,10 @@ gboolean pango_fc_font_has_char (PangoFcFont *font,
gunichar wc);
guint pango_fc_font_get_glyph (PangoFcFont *font,
gunichar wc);
+#ifndef PANGO_DISABLE_DEPRECATED
PangoGlyph pango_fc_font_get_unknown_glyph (PangoFcFont *font,
gunichar wc);
+#endif /* PANGO_DISABLE_DEPRECATED */
void pango_fc_font_kern_glyphs (PangoFcFont *font,
PangoGlyphString *glyphs);