Lines Matching defs:glyphs
28 _Xconst FT_UInt *glyphs,
45 g = glyphs;
54 g = glyphs;
62 (xftg = font->glyphs[glyph]))
85 if (glyph < font->num_glyphs && (xftg = font->glyphs[glyph]))
123 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
130 *(glyphs = glyphs_local) = 0;
133 glyphs = AllocUIntArray (len);
134 if (!glyphs)
141 glyphs[i] = XftCharIndex (dpy, pub, string[i]);
142 XftGlyphExtents (dpy, pub, glyphs, len, extents);
143 if (glyphs != glyphs_local)
144 free (glyphs);
154 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
161 *(glyphs = glyphs_local) = 0;
164 glyphs = AllocUIntArray (len);
165 if (!glyphs)
172 glyphs[i] = XftCharIndex (dpy, pub, string[i]);
173 XftGlyphExtents (dpy, pub, glyphs, len, extents);
174 if (glyphs != glyphs_local)
175 free (glyphs);
185 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
192 *(glyphs = glyphs_local) = 0;
195 glyphs = AllocUIntArray (len);
196 if (!glyphs)
203 glyphs[i] = XftCharIndex (dpy, pub, string[i]);
204 XftGlyphExtents (dpy, pub, glyphs, len, extents);
205 if (glyphs != glyphs_local)
206 free (glyphs);
216 FT_UInt *glyphs, *glyphs_new, glyphs_local[NUM_LOCAL];
226 *(glyphs = glyphs_local) = 0;
235 if (glyphs != glyphs_local)
236 free (glyphs);
240 memcpy (glyphs_new, glyphs, (size_t)size * sizeof (FT_UInt));
242 if (glyphs != glyphs_local)
243 free (glyphs);
244 glyphs = glyphs_new;
246 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
250 XftGlyphExtents (dpy, pub, glyphs, i, extents);
251 if (glyphs != glyphs_local)
252 free (glyphs);
263 FT_UInt *glyphs, *glyphs_new, glyphs_local[NUM_LOCAL];
273 *(glyphs = glyphs_local) = 0;
282 if (glyphs != glyphs_local)
283 free (glyphs);
287 memcpy (glyphs_new, glyphs, (size_t)size * sizeof (FT_UInt));
289 if (glyphs != glyphs_local)
290 free (glyphs);
291 glyphs = glyphs_new;
293 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
297 XftGlyphExtents (dpy, pub, glyphs, i, extents);
298 if (glyphs != glyphs_local)
299 free (glyphs);