summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-17 07:26:17 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-17 07:26:17 +0000
commita8de81b4d9bc9bf432ce8e194c28bb620faf18dc (patch)
tree7acf7c5783bc2ebd528c2460ef24578c8c040964 /pango/pango-font.h
parentd621408f949a6515ad50b94f97a9ba234ed9d53d (diff)
downloadpango-a8de81b4d9bc9bf432ce8e194c28bb620faf18dc.tar.gz
Move PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG, and
2006-02-17 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h, pango/pango-font.h: Move PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG, and PANGO_GET_UNKNOWN_GLYPH from the former to the latter, and only define if PANGO_ENABLE_ENGINE or PANGO_ENABLE_BACKEND is set.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index f75add6a..58d796ab 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -365,6 +365,13 @@ struct _PangoFontClass
#endif /* PANGO_ENABLE_BACKEND */
+#if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
+#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
+#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
+#define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
+#endif
+
+
G_END_DECLS
#endif /* __PANGO_FONT_H__ */