diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-05 03:11:58 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-05 03:11:58 +0000 |
commit | 6cddbd51fe9e616847a17be379149822c88104bf (patch) | |
tree | 1bcecc7d9210c334829b439ef515585ebe297624 /modules/syriac | |
parent | 8adcead819b6bb6781f0b01c6b17175b2918af8f (diff) | |
download | pango-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 'modules/syriac')
-rw-r--r-- | modules/syriac/syriac-fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c index 876e725d..9cbbf511 100644 --- a/modules/syriac/syriac-fc.c +++ b/modules/syriac/syriac-fc.c @@ -208,7 +208,7 @@ fallback_shape (PangoEngineShape *engine, index = pango_fc_font_get_glyph (fc_font, wc); if (!index) - index = pango_fc_font_get_unknown_glyph (fc_font, wc); + index = PANGO_GET_UNKNOWN_GLYPH ( wc); set_glyph (font, glyphs, i, p - text, index); } @@ -309,7 +309,7 @@ syriac_engine_shape (PangoEngineShape *engine, if (!index) { - pango_ot_buffer_add_glyph (buffer, pango_fc_font_get_unknown_glyph (fc_font, wc), + pango_ot_buffer_add_glyph (buffer, PANGO_GET_UNKNOWN_GLYPH ( wc), properties[i], p - text); } else |