diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-05-16 18:00:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-05-16 18:00:22 +0000 |
commit | a1d091f8b9fa18792c6d989a5eb7c8bad1c87258 (patch) | |
tree | 07faa7897569c0196b7774af26a5fdfdbdfd92b6 /modules/basic | |
parent | 774df2fe97bc6180fe55659ccff10c349976a022 (diff) | |
download | pango-a1d091f8b9fa18792c6d989a5eb7c8bad1c87258.tar.gz |
pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyph
2005-05-16 Owen Taylor <otaylor@redhat.com>
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents):
pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs):
Handle glyph == 0.
* modules/indic/indic-ot.h modules/basic/basic-common.h:
Treat LINE SEPARATOR as a zero-width character.
Diffstat (limited to 'modules/basic')
-rw-r--r-- | modules/basic/basic-common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/basic/basic-common.h b/modules/basic/basic-common.h index 2932e383..8c1d739e 100644 --- a/modules/basic/basic-common.h +++ b/modules/basic/basic-common.h @@ -10,6 +10,7 @@ G_BEGIN_DECLS * 200D ZERO WIDTH JOINER * 200E LEFT-TO-RIGHT MARK * 200F RIGHT-TO-LEFT MARK + * 2028 LINE SEPARATOR * 202A LEFT-TO-RIGHT EMBEDDING * 202B RIGHT-TO-LEFT EMBEDDING * 202C POP DIRECTIONAL FORMATTING @@ -19,7 +20,7 @@ G_BEGIN_DECLS */ #define ZERO_WIDTH_CHAR(wc)\ -(((wc) >= 0x200B && (wc) <= 0x200F) || ((wc) >= 0x202A && (wc) <= 0x202E) || ((wc) == 0xFEFF)) +(((wc) >= 0x200B && (wc) <= 0x200F) || (wc == 0x2028) || ((wc) >= 0x202A && (wc) <= 0x202E) || ((wc) == 0xFEFF)) G_END_DECLS |