diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-17 07:26:17 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-17 07:26:17 +0000 |
commit | a8de81b4d9bc9bf432ce8e194c28bb620faf18dc (patch) | |
tree | 7acf7c5783bc2ebd528c2460ef24578c8c040964 | |
parent | d621408f949a6515ad50b94f97a9ba234ed9d53d (diff) | |
download | pango-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | pango/pango-font.h | 7 | ||||
-rw-r--r-- | pango/pango-types.h | 4 |
3 files changed, 14 insertions, 4 deletions
@@ -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. */ |