Searched refs:cgFont (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DMemoryActivatedFont.mm94 bool isLastResortFont(CGFontRef cgFont)
96 NSString* fontName = (NSString*)CGFontCopyPostScriptName(cgFont);
126 RetainPtr<CGFontRef> cgFont(tmpCGFont);
135 return MemoryActivatedFont::create(fontID, nsFont, cgFont.get());
140 PassRefPtr<MemoryActivatedFont> MemoryActivatedFont::create(uint32_t fontID, NSFont* nsFont, CGFontRef cgFont)
142 return adoptRef(new MemoryActivatedFont(fontID, nsFont, cgFont));
145 MemoryActivatedFont::MemoryActivatedFont(uint32_t fontID, NSFont* nsFont, CGFontRef cgFont)
146 : m_cgFont(cgFont)
167 // Given an NSFont, try to load a representation of that font into the cgFont
173 // * cgFont mus
[all...]
H A DMemoryActivatedFont.h79 CGFontRef cgFont() { return m_cgFont.get(); } function in class:WebCore::MemoryActivatedFont
H A DFontCustomPlatformDataMac.cpp35 FontCustomPlatformData::FontCustomPlatformData(CGFontRef cgFont, PassRefPtr<SkTypeface> typeface) argument
36 : m_cgFont(AdoptCF, cgFont)
H A DSimpleFontDataMac.mm99 if (!fontData->platformData().cgFont())
213 iAscent = CGFontGetAscent(m_platformData.cgFont());
216 iDescent = -abs(CGFontGetDescent(m_platformData.cgFont()));
217 iLineGap = CGFontGetLeading(m_platformData.cgFont());
218 unitsPerEm = CGFontGetUnitsPerEm(m_platformData.cgFont());
259 xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.cgFont()), unitsPerEm) * pointSize;
274 return CGFontCopyTableForTag(platformData.cgFont(), tableName);
395 if (!CGFontGetGlyphAdvancesForStyle(platformData().cgFont(), &m, cgFontRenderingModeForNSFont(font), &glyph, 1, &advance)) {
434 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
448 if (!CFEqual(runCGFont.get(), cgFont
[all...]
H A DSimpleFontDataCoreText.cpp106 CGFontGetGlyphsForUnichars(platformData().cgFont(), buffer, glyphs.data(), bufferLength);
138 // be non-CFEqual to platformData().cgFont().
139 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
151 bool gotBaseFont = CFEqual(cgFont.get(), runCGFont.get());
H A DComplexTextControllerCoreText.mm263 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(runFontData->platformData().ctFont(), 0));
264 if (CFEqual(cgFont.get(), runCGFont.get()))
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
H A DFontPlatformDataCocoa.mm53 CGFontRef cgFont = 0;
54 loadFont(nsFont, size, m_font, cgFont);
71 m_cgFont.adoptCF(cgFont);
134 CGFontRef cgFont = 0;
136 loadFont(m_font, m_size, loadedFont, cgFont);
148 m_cgFont.adoptCF(cgFont);
250 m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_inMemoryFont->cgFont(), m_size, 0, cascadeToLastResortFontDescriptor()));
325 RetainPtr<CFStringRef> cgFontDescription(AdoptCF, CFCopyDescription(cgFont()));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontPlatformData.cpp80 FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) argument
87 , m_cgFont(cgFont)
H A DFontPlatformData.h103 CGFontRef cgFont() const { return m_cgFont.get(); } function in class:WebCore::FontPlatformData
173 // * cgFont - CGFontRef representing the input font at the specified point size.
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzFaceCoreText.cpp111 CGFontRef cgFont = reinterpret_cast<CGFontRef>(userData); local
112 CFDataRef cfData = CGFontCopyTableForTag(cgFont, tag);
127 hb_face_t* face = hb_face_create_for_tables(harfBuzzCoreTextGetTable, m_platformData->cgFont(), 0);
/external/pdfium/core/src/fxge/apple/
H A Dapple_int.h211 CFX_FontProvider(CGFontRef cgFont);
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_mac.cpp389 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fontRef, NULL));
390 AutoCGTable<SkOTTableHead> headTable(cgFont);
1742 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef, NULL));
1743 return CGFontGetUnitsPerEm(cgFont);
1777 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, NULL));
1778 data = CGFontCopyTableForTag(cgFont, tag);
/external/skia/src/ports/
H A DSkFontHost_mac.cpp389 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fontRef, NULL));
390 AutoCGTable<SkOTTableHead> headTable(cgFont);
1742 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef, NULL));
1743 return CGFontGetUnitsPerEm(cgFont);
1777 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, NULL));
1778 data = CGFontCopyTableForTag(cgFont, tag);

Completed in 187 milliseconds