Home | History | Annotate | Download | only in carbon

Lines Matching refs:cgFont

49     CGFontRef cgFont;
52 cgFont = CTFontCopyGraphicsFont((CTFontRef)font->OSXGetCTFont(), NULL);
59 cgFont = CGFontCreateWithPlatformFont((void*)&fontRef);
62 if (cgFont) {
68 wkGetFontMetrics(cgFont, &iAscent, &iDescent, &iLineGap, &unitsPerEm);
70 iAscent = CGFontGetAscent(cgFont);
71 iDescent = CGFontGetDescent(cgFont);
72 iLineGap = CGFontGetLeading(cgFont);
73 unitsPerEm = CGFontGetUnitsPerEm(cgFont);
90 if (cgFont)
91 CGFontRelease(cgFont);