PangoGlyph glyph;
PangoliteGlyph glyph;
get_glyphs_list(ThaiFontInfo *font_info,                gunichar2	   *cluster,                gint		     num_chrs,                PangoGlyph	 *glyph_lists){  PangoGlyph glyph;  gint       xtis_index, i;  switch (font_info->type) {  case THAI_FONT_NONE:    for (i = 0; i < num_chrs; i++)      /* Change this to remove font dependency */      glyph_lists[i] = 0; /* pango_x_get_unknown_glyph(font_info->font); */    return num_chrs;      case THAI_FONT_XTIS:    /* If we are rendering with an XTIS font, we try to find a precomposed     * glyph for the cluster.     */    xtis_index = 0x100 * (cluster[0] - 0xe00 + 0x20) + 0x30;    if (cluster[1])	    xtis_index +=8 * group1_map[cluster[1] - 0xe30];    if (cluster[2])	    xtis_index += group2_map[cluster[2] - 0xe30];    glyph = PANGO_MOZ_MAKE_GLYPH(xtis_index);    /*    if (pango_x_has_glyph(font_info->font, glyph)) {      glyph_lists[0] = glyph;      return 1;    }    */    for (i=0; i < num_chrs; i++)      glyph_lists[i] = PANGO_MOZ_MAKE_GLYPH(0x100 * (cluster[i] - 0xe00 + 0x20) + 0x30);    return num_chrs;      case THAI_FONT_TIS:    /* TIS620-0 + Wtt2.0 Extension     */    return get_adjusted_glyphs_list (font_info, cluster,                                     num_chrs, glyph_lists, &tis620_0_shape_table);      case THAI_FONT_TIS_MAC:    /* MacIntosh Extension     */    return get_adjusted_glyphs_list(font_info, cluster,                                    num_chrs, glyph_lists, &Mac_shape_table);      case THAI_FONT_TIS_WIN:    /* Microsoft Extension     */    return get_adjusted_glyphs_list(font_info, cluster,                                    num_chrs, glyph_lists, &Win_shape_table);      case THAI_FONT_ISO10646:    for (i=0; i < num_chrs; i++)      glyph_lists[i] = PANGO_MOZ_MAKE_GLYPH(cluster[i]);    return num_chrs;  }    return 0;			/* Quiet GCC */}