/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
D | non-kerned-drawing.cpp | 55 CGFontRef cgFont = font->platformData().cgFont(); in drawTextWithSpacing() local 57 CGContextSetFont(cgContext, cgFont); in drawTextWithSpacing() 75 if (cgFont) in drawTextWithSpacing() 76 CGFontRelease(cgFont); in drawTextWithSpacing()
|
D | fontprops.mm | 46 CGFontRef cgFont; 49 cgFont = CTFontCopyGraphicsFont((CTFontRef)font->OSXGetCTFont(), NULL); 56 cgFont = CGFontCreateWithPlatformFont((void*)&fontRef); 59 if (cgFont) { 65 wkGetFontMetrics(cgFont, &iAscent, &iDescent, &iLineGap, &unitsPerEm); 67 iAscent = CGFontGetAscent(cgFont); 68 iDescent = CGFontGetDescent(cgFont); 69 iLineGap = CGFontGetLeading(cgFont); 70 unitsPerEm = CGFontGetUnitsPerEm(cgFont); 87 if (cgFont) [all …]
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | CrossProcessFontLoading.mm | 76 bool isLastResortFont(CGFontRef cgFont) 78 NSString* fontName = (NSString*)CGFontCopyPostScriptName(cgFont); 111 if (!font->cgFont()) // Object construction failed. 167 // Given an NSFont, try to load a representation of that font into the cgFont 173 // * cgFont must be CFRelease()ed by the caller when done. 180 // * cgFont - on output this contains the CGFontRef corresponding to the NSFont 184 …d FontPlatformData::loadFont(NSFont* nsFont, float fontSize, NSFont*& outNSFont, CGFontRef& cgFont) 187 cgFont = CTFontCopyGraphicsFont(toCTFontRef(outNSFont), 0); 188 if (OutOfProcessFontLoadingEnabled() && outNSFont && cgFont && isLastResortFont(cgFont)) { 190 CFRelease(cgFont); [all …]
|
D | CrossProcessFontLoading.h | 80 CGFontRef cgFont() { return m_cgFont.get(); } in cgFont() function
|
/external/webkit/Source/WebCore/platform/graphics/cocoa/ |
D | FontPlatformDataCocoa.mm | 37 void FontPlatformData::loadFont(NSFont* nsFont, float, NSFont*& outNSFont, CGFontRef& cgFont) 41 cgFont = CTFontCopyGraphicsFont(toCTFontRef(nsFont), 0); 43 cgFont = wkGetCGFontFromNSFont(nsFont); 67 CGFontRef cgFont = 0; 68 loadFont(nsFont, size, m_font, cgFont); 74 m_cgFont.adoptCF(cgFont); 76 m_cgFont = cgFont; 135 CGFontRef cgFont = 0; 137 loadFont(m_font, m_size, loadedFont, cgFont); 150 m_cgFont.adoptCF(cgFont); [all …]
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | FontPlatformDataWx.cpp | 163 CGFontRef FontPlatformData::cgFont() const in cgFont() function in WebCore::FontPlatformData 165 CGFontRef cgFont = 0; in cgFont() local 167 cgFont = CTFontCopyGraphicsFont((CTFontRef)m_font->font()->OSXGetCTFont(), 0); in cgFont() 174 cgFont = CGFontCreateWithPlatformFont((void*)&fontRef); in cgFont() 176 return cgFont; in cgFont()
|
D | FontPlatformData.h | 165 CGFontRef cgFont() const;
|
D | SimpleFontDataWx.cpp | 155 if (!wkGetGlyphTransformedAdvances(m_platformData.cgFont(), nsfont, &m, &glyph, &advance)) { in platformWidthForGlyph()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontCustomPlatformData.h | 44 FontCustomPlatformData(ATSFontContainerRef container, CGFontRef cgFont) in FontCustomPlatformData() 46 , m_cgFont(cgFont) in FontCustomPlatformData()
|
D | GlyphPageTreeNodeMac.cpp | 61 … wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); in fill() 89 …RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(fontData->platformData().ctFont(), 0)); in fill() local 101 if (CFEqual(cgFont.get(), runCGFont.get())) { in fill()
|
D | SimpleFontDataMac.mm | 63 if (!fontData->platformData().cgFont()) 223 wkGetFontMetrics(m_platformData.cgFont(), &iAscent, &iDescent, &iLineGap, &unitsPerEm); 225 iAscent = CGFontGetAscent(m_platformData.cgFont()); 226 iDescent = CGFontGetDescent(m_platformData.cgFont()); 227 iLineGap = CGFontGetLeading(m_platformData.cgFont()); 228 unitsPerEm = CGFontGetUnitsPerEm(m_platformData.cgFont()); 287 … xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.cgFont()), unitsPerEm) * pointSize; 319 return CGFontCopyTableForTag(platformData.cgFont(), tableName); 477 if (!wkGetGlyphTransformedAdvances(platformData().cgFont(), font, &m, &glyph, &advance)) {
|
D | FontMac.mm | 99 CGFloat unitsPerEm = CGFontGetUnitsPerEm(platformData.cgFont()); 200 CGContextSetFont(cgContext, platformData.cgFont());
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | FontPlatformData.h | 185 …FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool syntheticOblique, FontOrie… in FontPlatformData() argument 194 , m_cgFont(cgFont) in FontPlatformData() 223 CGFontRef cgFont() const { return m_cgFont.get(); } in cgFont() function 225 CGFontRef cgFont() const { return m_cgFont; } in cgFont() function 232 CGFontRef cgFont() const { return m_cgFont.get(); } in cgFont() function
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | SimpleFontDataCGWin.cpp | 62 CGFontRef font = m_platformData.cgFont(); in platformInit() 131 CGFontGetGlyphBBoxes(m_platformData.cgFont(), &glyph, 1, &box); in platformBoundsForGlyph() 146 CGFontRef font = m_platformData.cgFont(); in platformWidthForGlyph()
|
D | GlyphPageTreeNodeCGWin.cpp | 46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength); in fill()
|
D | FontCustomPlatformData.cpp | 90 RetainPtr<CGFontRef> cgFont(AdoptCF, CGFontCreateWithPlatformFont(&logFont)); in fontPlatformData() local 91 …return FontPlatformData(hfont, cgFont.get(), size, bold, italic, renderingMode == AlternateRenderi… in fontPlatformData()
|
D | FontCGWin.cpp | 339 CGContextSetFont(cgContext, platformData.cgFont()); in drawGlyphs()
|
D | FontCacheWin.cpp | 585 bool fontCreationFailed = !result->cgFont(); in createFontPlatformData()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 261 static SkScalar getFontScale(CGFontRef cgFont) { in getFontScale() argument 262 int unitsPerEm = CGFontGetUnitsPerEm(cgFont); in getFontScale() 345 CGFontRef cgFont = CTFontCopyGraphicsFont(fontRef, NULL); in CTFontRef_to_SkFontID() local 346 AutoCFDataRelease headRef(CGFontCopyTableForTag(cgFont, 'head')); in CTFontRef_to_SkFontID() 357 CGFontRelease(cgFont); in CTFontRef_to_SkFontID() 1964 CGFontRef cgFont = CTFontCopyGraphicsFont(ctFont, NULL); in copyTableFromFont() local 1965 data = CGFontCopyTableForTag(cgFont, tag); in copyTableFromFont() 1966 CGFontRelease(cgFont); in copyTableFromFont()
|
/external/skia/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 284 static SkScalar getFontScale(CGFontRef cgFont) { in getFontScale() argument 285 int unitsPerEm = CGFontGetUnitsPerEm(cgFont); in getFontScale() 383 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fontRef, NULL)); in CTFontRef_to_SkFontID() local 384 AutoCGTable<SkOTTableHead> headTable(cgFont); in CTFontRef_to_SkFontID() 1832 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, NULL)); in copyTableFromFont() local 1833 data = CGFontCopyTableForTag(cgFont, tag); in copyTableFromFont()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2010-05-24 | 13020 (WebCore::FontPlatformData::cgFont): 33934 (WebCore::FontPlatformData::cgFont): 36147 (WebCore::FontCustomPlatformData::FontCustomPlatformData): Removed cgFont
|
D | ChangeLog-2008-08-10 | 36041 (WebCore::FontPlatformData::cgFont): 41706 (WebCore::Font::drawGlyphs): Changed to use the cgFont() accessor. 41712 (WebCore::FontPlatformData::cgFont): Added this accessor method.
|
D | ChangeLog-2007-10-14 | 30231 (WebCore::FontPlatformData::cgFont): 32734 (WebCore::FontPlatformData::cgFont):
|
D | ChangeLog-2010-12-06 | 64572 (WebCore::MemoryActivatedFont::cgFont): 67665 (WebCore::FontPlatformData::cgFont):
|
D | ChangeLog | 37436 (WebCore::FontPlatformData::cgFont):
|