Lines Matching refs:glyphs

134 (const QuartzSDOps *qsdo, const AWTStrike *strike, const BOOL useSubstituion, const int uniChars[], const CGGlyph glyphs[], CGSize advances[], const jint g_gvTXIndicesAsInts[], const jdouble g_gvTransformsAsDoubles[], const CFIndex length)
154 CGGlyph glyph = glyphs[i];
323 aquiring transform arrays from JNI, filling buffers, or striking glyphs. All resources or memory
332 // strike the glyphs immediately in Core Graphics. Otherwise, obtain the arrays, and defer to above.
334 (JNIEnv *env, QuartzSDOps *qsdo, const AWTStrike *strike, jobject gVector, BOOL useSubstituion, int *uniChars, CGGlyph *glyphs, CGSize *advances, size_t length)
344 JavaCT_DrawGlyphVector(qsdo, strike, TRUE, uniChars, glyphs, advances, NULL, NULL, length);
349 CGContextShowGlyphsWithAdvances(qsdo->cgRef, glyphs, advances, length);
364 JavaCT_DrawGlyphVector(qsdo, strike, useSubstituion, uniChars, glyphs, advances, g_gvTXIndicesAsInts, g_gvTransformsAsDoubles, length);
374 // Uses "glyphs" as a temporary buffer for the glyph-to-unicode translation
376 (const NSFont *font, const int uniChars[], CGGlyph glyphs[], const size_t length, CGSize advances[])
393 glyphs[i] = glyph;
397 // Fills the glyph buffer with glyphs from the GlyphVector object. Also checks to see if the glyph's positions have been
401 (JNIEnv *env, QuartzSDOps *qsdo, const AWTStrike *strike, jobject gVector, CGGlyph *glyphs, int *uniChars, CGSize *advances, size_t length, jintArray glyphsArray)
417 glyphs[i] = 0;
422 glyphs[i] = code;
468 CTFontGetAdvancesForGlyphs((CTFontRef)awtFont->fFont, kCTFontDefaultOrientation, glyphs, advances, length);
472 JavaCT_GetAdvancesForUnichars(awtFont->fFont, uniChars, glyphs, length, advances);
477 doDrawGlyphsPipe_checkForPerGlyphTransforms(env, qsdo, strike, gVector, complex, uniChars, glyphs, advances, length);
480 // Obtains the glyph array to determine the number of glyphs we are dealing with. If we are dealing a large number of glyphs,
481 // we malloc a buffer to hold the glyphs and their advances, otherwise we use stack allocated buffers.
485 static JNF_MEMBER_CACHE(jm_StandardGlyphVector_glyphs, jc_StandardGlyphVector, "glyphs", "[I");
499 CGGlyph glyphs[length];
502 doDrawGlyphsPipe_fillGlyphAndAdvanceBuffers(env, qsdo, strike, gVector, glyphs, uniChars, advances, length, glyphsArray);
507 CGGlyph *glyphs = (CGGlyph *)malloc(sizeof(CGGlyph) * length);
511 if (glyphs == NULL || advances == NULL)
518 doDrawGlyphsPipe_fillGlyphAndAdvanceBuffers(env, qsdo, strike, gVector, glyphs, uniChars, advances, length, glyphsArray);
520 free(glyphs);
613 [JNFException raise:env as:kOutOfMemoryError reason:"Failed to malloc memory to create the glyphs for string drawing"];