Lines Matching refs:grapheme
1024 GraphemeInfo **grapheme,ExceptionInfo *exception) in ComplexTextLayout() argument
1089 *grapheme=(GraphemeInfo *) AcquireQuantumMemory(extent,sizeof(**grapheme)); in ComplexTextLayout()
1090 if (*grapheme == (GraphemeInfo *) NULL) in ComplexTextLayout()
1097 (*grapheme)[i].index=glyphs[i].index; in ComplexTextLayout()
1098 (*grapheme)[i].x_offset=glyphs[i].x_offset; in ComplexTextLayout()
1099 (*grapheme)[i].x_advance=glyphs[i].x_advance; in ComplexTextLayout()
1100 (*grapheme)[i].y_offset=glyphs[i].y_offset; in ComplexTextLayout()
1101 (*grapheme)[i].cluster=glyphs[i].cluster; in ComplexTextLayout()
1125 *grapheme=(GraphemeInfo *) AcquireQuantumMemory(length+1,sizeof(**grapheme)); in ComplexTextLayout()
1126 if (*grapheme == (GraphemeInfo *) NULL) in ComplexTextLayout()
1132 (*grapheme)[i].index=(ssize_t) FT_Get_Char_Index(face,GetUTFCode(p)); in ComplexTextLayout()
1133 (*grapheme)[i].x_offset=0; in ComplexTextLayout()
1134 (*grapheme)[i].y_offset=0; in ComplexTextLayout()
1135 if (((*grapheme)[i].index != 0) && (last_glyph != 0)) in ComplexTextLayout()
1143 (*grapheme)[i].index,ft_kerning_default,&kerning); in ComplexTextLayout()
1145 (*grapheme)[i-1].x_advance+=(FT_Pos) ((draw_info->direction == in ComplexTextLayout()
1149 ft_status=FT_Load_Glyph(face,(FT_UInt) (*grapheme)[i].index,flags); in ComplexTextLayout()
1150 (*grapheme)[i].x_advance=face->glyph->advance.x; in ComplexTextLayout()
1151 (*grapheme)[i].cluster=p-text; in ComplexTextLayout()
1152 last_glyph=(*grapheme)[i].index; in ComplexTextLayout()
1283 *grapheme; in RenderFreetype() local
1508 grapheme=(GraphemeInfo *) NULL; in RenderFreetype()
1509 length=ComplexTextLayout(image,draw_info,p,strlen(p),face,flags,&grapheme, in RenderFreetype()
1517 glyph.id=(FT_UInt) grapheme[i].index; in RenderFreetype()
1523 glyph.origin.x+=(FT_Pos) grapheme[i].x_offset; in RenderFreetype()
1524 glyph.origin.y+=(FT_Pos) grapheme[i].y_offset; in RenderFreetype()
1680 (IsUTFSpace(GetUTFCode(p+grapheme[i].cluster)) != MagickFalse) && in RenderFreetype()
1684 origin.x+=(FT_Pos) grapheme[i].x_advance; in RenderFreetype()
1690 code=GetUTFCode(p+grapheme[i].cluster); in RenderFreetype()
1692 if (grapheme != (GraphemeInfo *) NULL) in RenderFreetype()
1693 grapheme=(GraphemeInfo *) RelinquishMagickMemory(grapheme); in RenderFreetype()