Lines Matching refs:grapheme

1068   GraphemeInfo **grapheme,ExceptionInfo *exception)  in ComplexTextLayout()  argument
1133 *grapheme=(GraphemeInfo *) AcquireQuantumMemory(extent,sizeof(**grapheme)); in ComplexTextLayout()
1134 if (*grapheme == (GraphemeInfo *) NULL) in ComplexTextLayout()
1141 (*grapheme)[i].index=glyphs[i].index; in ComplexTextLayout()
1142 (*grapheme)[i].x_offset=glyphs[i].x_offset; in ComplexTextLayout()
1143 (*grapheme)[i].x_advance=glyphs[i].x_advance; in ComplexTextLayout()
1144 (*grapheme)[i].y_offset=glyphs[i].y_offset; in ComplexTextLayout()
1145 (*grapheme)[i].cluster=glyphs[i].cluster; in ComplexTextLayout()
1170 *grapheme=(GraphemeInfo *) AcquireQuantumMemory(length+1,sizeof(**grapheme)); in ComplexTextLayout()
1171 if (*grapheme == (GraphemeInfo *) NULL) in ComplexTextLayout()
1177 (*grapheme)[i].index=(ssize_t) FT_Get_Char_Index(face,GetUTFCode(p)); in ComplexTextLayout()
1178 (*grapheme)[i].x_offset=0; in ComplexTextLayout()
1179 (*grapheme)[i].y_offset=0; in ComplexTextLayout()
1180 if (((*grapheme)[i].index != 0) && (last_glyph != 0)) in ComplexTextLayout()
1188 (*grapheme)[i].index,ft_kerning_default,&kerning); in ComplexTextLayout()
1190 (*grapheme)[i-1].x_advance+=(FT_Pos) ((draw_info->direction == in ComplexTextLayout()
1194 ft_status=FT_Load_Glyph(face,(FT_UInt) (*grapheme)[i].index,flags); in ComplexTextLayout()
1195 (*grapheme)[i].x_advance=face->glyph->advance.x; in ComplexTextLayout()
1196 (*grapheme)[i].cluster=p-text; in ComplexTextLayout()
1197 last_glyph=(*grapheme)[i].index; in ComplexTextLayout()
1328 *grapheme; in RenderFreetype() local
1562 grapheme=(GraphemeInfo *) NULL; in RenderFreetype()
1563 length=ComplexTextLayout(image,draw_info,p,strlen(p),face,flags,&grapheme, in RenderFreetype()
1574 glyph.id=(FT_UInt) grapheme[i].index; in RenderFreetype()
1580 glyph.origin.x+=(FT_Pos) grapheme[i].x_offset; in RenderFreetype()
1581 glyph.origin.y+=(FT_Pos) grapheme[i].y_offset; in RenderFreetype()
1761 (IsUTFSpace(GetUTFCode(p+grapheme[i].cluster)) != MagickFalse) && in RenderFreetype()
1765 origin.x+=(FT_Pos) grapheme[i].x_advance; in RenderFreetype()
1776 code=GetUTFCode(p+grapheme[i].cluster); in RenderFreetype()
1778 if (grapheme != (GraphemeInfo *) NULL) in RenderFreetype()
1779 grapheme=(GraphemeInfo *) RelinquishMagickMemory(grapheme); in RenderFreetype()