summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--pango/pango-font.h7
-rw-r--r--pango/pango-types.h4
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4accbd40..c73dcda5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2006-02-15 Behdad Esfahbod <behdad@gnome.org>
Bug 331038 – pango-querymodules --help and --version
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__ */
diff --git a/pango/pango-types.h b/pango/pango-types.h
index 7d12dac0..6a198a60 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -45,10 +45,6 @@ typedef struct _PangoLanguage PangoLanguage;
*/
typedef guint32 PangoGlyph;
-#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)
-
/* A rectangle. Used to store logical and physical extents of glyphs,
* runs, strings, etc.
*/