From a1d091f8b9fa18792c6d989a5eb7c8bad1c87258 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 16 May 2005 18:00:22 +0000 Subject: pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyph 2005-05-16 Owen Taylor * 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. --- modules/indic/indic-ot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/indic') diff --git a/modules/indic/indic-ot.h b/modules/indic/indic-ot.h index d4c37a8b..96b358c4 100644 --- a/modules/indic/indic-ot.h +++ b/modules/indic/indic-ot.h @@ -188,6 +188,7 @@ enum indic_glyph_property_ * 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 @@ -196,7 +197,7 @@ enum indic_glyph_property_ * FEFF ZERO WIDTH NO-BREAK SPACE */ #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)) struct _IndicOTClassTable { -- cgit v1.2.1