HomeSort by relevance Sort by last modified time
    Searched refs:ctFont (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzFaceCoreText.cpp 50 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
55 if (!CTFontGetGlyphsForCharacters(ctFont, characters, cgGlyphs, length))
63 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
65 CGFloat advance = CTFontGetAdvancesForGlyphs(ctFont, kCTFontHorizontalOrientation, &cgGlyph, 0, 1);
76 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
79 if (CTFontGetBoundingRectsForGlyphs(ctFont, kCTFontDefaultOrientation, &cgGlyph, &cgRect, 1) == CGRectNull)
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
SimpleFontDataMac.mm 82 static bool fontHasVerticalGlyphs(CTFontRef ctFont)
85 RetainPtr<CFArrayRef> tableTags(AdoptCF, CTFontCopyAvailableTables(ctFont, kCTFontTableOptionNoOptions));
222 float underlineThickness = CTFontGetUnderlineThickness(m_platformData.ctFont());
223 float underlinePosition = CTFontGetUnderlinePosition(m_platformData.ctFont());
245 m_hasVerticalGlyphs = fontHasVerticalGlyphs(m_platformData.ctFont());
375 boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation() == Vertical ? kCTFontVerticalOrientation : kCTFontHorizontalOrientation, &glyph, 0, 1);
399 CTFontGetAdvancesForGlyphs(m_platformData.ctFont(), kCTFontVerticalOrientation, &glyph, &advance, 1);
432 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
SimpleFontDataCoreText.cpp 54 CFDictionarySetValue(mutableAttributes, kCTFontAttributeName, platformData().ctFont());
114 && CTFontGetGlyphsForCharacters(platformData().ctFont(), buffer, glyphs.data(), bufferLength)) {
137 // For the CGFont comparison in the loop, use the CGFont that Core Text assigns to the CTFont. This may
139 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
143 // We need to pick runs that use the exact font we need, i.e., platformData().ctFont().
150 // Use CGFont here as CFEqual for CTFont counts all attributes for font.
ComplexTextControllerCoreText.mm 87 fontDescriptor = CTFontCopyFontDescriptor(fontData->platformData().ctFont());
210 RetainPtr<CTFontRef> fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_font.fontDescription().computedPixelSize(), 0, fontDescriptor.get()));
257 if (!CFEqual(runFont, fontData->platformData().ctFont())) {
263 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(runFontData->platformData().ctFont(), 0));
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_mac.cpp 486 CTFontRef ctFont = NULL;
523 ctFont = CTFontCreateWithFontDescriptor(ctFontDesc, 0, NULL);
527 return ctFont ? NewFromFontRef(ctFont, familyName, false) : NULL;
730 CTFontRef ctFont = typeface->fFontRef.get();
731 CFIndex numGlyphs = CTFontGetGlyphCount(ctFont);
753 fCTFont.reset(CTFontCreateCopyWithAttributes(ctFont, 1, &transform, ctFontDesc));
758 fCTVerticalFont.reset(CTFontCreateCopyWithAttributes(ctFont, 1, &transform, NULL));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
FontPlatformDataCocoa.mm 228 CTFontRef FontPlatformData::ctFont() const
267 bool FontPlatformData::isAATFont(CTFontRef ctFont) const
269 CFDataRef table = CTFontCopyTable(ctFont, kCTFontTableMort, 0);
274 table = CTFontCopyTable(ctFont, kCTFontTableMorx, 0);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.cpp 325 m_typeface = adoptRef(SkCreateTypefaceFromCTFont(ctFont()));
333 CTFontRef font = ctFont();
FontPlatformData.h 94 CTFontRef ctFont() const;
  /external/chromium_org/third_party/skia/src/core/
SkAdvancedTypefaceMetrics.cpp 280 CTFontRef ctFont,
284 bool (*getAdvance)(CTFontRef ctFont, int gId, int16_t* data));

Completed in 207 milliseconds