Lines Matching refs:strike

315 CGGI_GetRenderingMode(const AWTStrike *strike)
318 mode.cgFontMode = strike->fStyle;
320 switch (strike->fAAStyle) {
416 // if we don't have enough space to strike the largest glyph in the
524 // strike the glyph in the upper right corner
539 (CGGI_GlyphCanvas *canvas, const AWTStrike *strike,
552 fallback = CTS_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, (const UTF16Char *)&charRef, (CGGlyph *)&glyphTmp, 2);
557 fallback = CTS_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, (const UTF16Char *)&charRef, &glyph, 1);
560 CGAffineTransform tx = strike->fTx;
561 JRSFontRenderingStyle style = JRSFontAlignStyleForFractionalMeasurement(strike->fStyle);
567 JRSFontGetAdvancesForGlyphsAndStyle(fallback, &tx, strike->fStyle, &glyph, 1, &advance);
569 // create the Sun2D GlyphInfo we are going to strike into
575 // align the transform for the real CoreText strike
576 CGContextSetTextMatrix(canvas->context, strike->fAltTx);
582 // clean the canvas - align, strike, and copy the glyph from the canvas into the info
614 const AWTStrike *strike,
621 CGContextSetTextMatrix(canvas->context, strike->fAltTx);
623 CGContextSetFont(canvas->context, strike->fAWTFont->fNativeCGFont);
624 JRSFontSetRenderingStyleOnContext(canvas->context, strike->fStyle);
632 info = CGGI_CreateImageForUnicode(canvas, strike, mode, uniChars[i]);
659 * Based on the space needed to strike the largest character in the run,
660 * either use the global shared canvas, or make one up on the spot, strike
664 CGGI_FillImagesForGlyphs(jlong *glyphInfos, const AWTStrike *strike,
675 CGGI_FillImagesForGlyphsWithSizedCanvas(tmpCanvas, strike,
693 CGGI_FillImagesForGlyphsWithSizedCanvas(canvas, strike, mode,
708 CGGI_CreateGlyphInfos(jlong *glyphInfos, const AWTStrike *strike,
713 AWTFont *font = strike->fAWTFont;
714 CGAffineTransform tx = strike->fTx;
715 JRSFontRenderingStyle bboxCGMode = JRSFontAlignStyleForFractionalMeasurement(strike->fStyle);
718 JRSFontGetAdvancesForGlyphsAndStyle((CTFontRef)font->fFont, &tx, strike->fStyle, glyphs, len, advances);
743 CGGI_FillImagesForGlyphs(glyphInfos, strike, mode, uniChars,
757 const AWTStrike *strike,
776 CGGI_CreateGlyphInfos(glyphInfos, strike, mode,
794 const AWTStrike *strike,
797 const CGGI_RenderingMode mode = CGGI_GetRenderingMode(strike);
805 CGGI_CreateGlyphsAndScanForComplexities(glyphInfos, strike, &mode,
817 reason:@"Failed to allocate memory for the temporary glyph strike and measurement buffers." userInfo:nil] raise];
825 CGGI_CreateGlyphsAndScanForComplexities(glyphInfos, strike, &mode,