/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzFace.h | 50 static PassRefPtr<HarfBuzzFace> create(FontPlatformData* platformData, uint64_t uniqueID) 52 return adoptRef(new HarfBuzzFace(platformData, uniqueID));
|
HarfBuzzFace.cpp | 80 HarfBuzzFace::HarfBuzzFace(FontPlatformData* platformData, uint64_t uniqueID) 81 : m_platformData(platformData)
|
FontHarfBuzz.cpp | 69 font->platformData().setupPaint(&paint, gc); 82 font->platformData().setupPaint(&paint, gc); 110 if (font->platformData().orientation() == Vertical && verticalData) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontMac.cpp | 59 const FontPlatformData& platformData = fontData->platformData(); 60 const float textSize = platformData.m_size >= 0 ? platformData.m_size : 12; 65 paint->setVerticalText(platformData.orientation() == Vertical); 66 SkTypeface* typeface = SkCreateTypefaceFromCTFont(platformData.ctFont()); 69 paint->setFakeBoldText(platformData.m_syntheticBold); 70 paint->setTextSkewX(platformData.m_syntheticOblique ? -SK_Scalar1 / 4 : 0); 122 if (font->platformData().orientation() == Vertical) 140 if (font->platformData().orientation() == Vertical) [all...] |
GlyphPageTreeNodeMac.cpp | 46 if (fontData->platformData().isCompositeFontReference()) 48 if (fontData->platformData().widthVariant() != RegularWidth || fontData->hasVerticalGlyphs()) { 65 CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); 74 } else if (!fontData->platformData().isCompositeFontReference() && fontData->platformData().widthVariant() != RegularWidth 75 && CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { 105 // be non-CFEqual to fontData->platformData().cgFont(). 106 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(fontData->platformData().ctFont(), 0)); 110 // We need to pick runs that use the exact font we need, i.e., fontData->platformData().ctFont(). 119 if (gotBaseFont || fontData->platformData().isCompositeFontReference()) [all...] |
FontCacheMac.mm | 108 const FontPlatformData& platformData = fontDataToSubstitute->platformData(); 109 NSFont *nsFont = platformData.font(); 139 if (platformData.m_syntheticBold) 141 if (platformData.m_syntheticOblique) 168 FontPlatformData alternateFont(substituteFont, platformData.size(), platformData.isPrinterFont(), 171 platformData.m_orientation); 215 // In that case, we don't want to use the platformData. 216 OwnPtr<FontPlatformData> platformData = adoptPtr(new FontPlatformData(platformFont, size, fontDescription.usePrinterFont(), syntheticBol (…) [all...] |
SimpleFontDataMac.mm | 97 if (!fontData->platformData().cgFont()) 122 bool isUsingPrinterFont = platformData().isPrinterFont(); 126 bool syntheticBold = platformData().syntheticBold() && !(traits & kCTFontBoldTrait); 127 bool syntheticOblique = platformData().syntheticOblique() && !(traits & kCTFontItalicTrait); 129 FontPlatformData substitutePlatform(substituteFont, platformData().size(), isUsingPrinterFont, syntheticBold, syntheticOblique, platformData().orientation(), platformData().widthVariant()); 234 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) 239 if (platformData().orientation() == Horizontal) { 258 static CFDataRef copyFontTableForTag(FontPlatformData& platformData, FourCharCode tableName [all...] |
SimpleFontDataCoreText.cpp | 45 CFDictionarySetValue(mutableAttributes, kCTFontAttributeName, platformData().ctFont()); 53 bool allowLigatures = (orientation == Horizontal && platformData().allowsLigatures()) || (typesettingFeatures & Ligatures);
|
ComplexTextControllerCoreText.mm | 87 fontDescriptor = CTFontCopyFontDescriptor(fontData->platformData().ctFont()); 205 stringAttributes.adoptCF(CFDictionaryCreateMutableCopy(kCFAllocatorDefault, 0, fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()))); 210 RetainPtr<CTFontRef> fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_font.pixelSize(), 0, fontDescriptor.get())); 213 stringAttributes = fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()); 257 if (!CFEqual(runFont, fontData->platformData().ctFont())) { 263 RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(runFontData->platformData().ctFont(), 0));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
UniscribeHelperTextRun.cpp | 44 font.primaryFont()->platformData().hfont(), 45 font.primaryFont()->platformData().scriptCache(), 46 font.primaryFont()->platformData().scriptFontProperties(), 131 m_hfonts.append(simpleFontData->platformData().hfont()); 132 m_scriptCaches.append(simpleFontData->platformData().scriptCache()); 133 m_fontProperties.append(simpleFontData->platformData().scriptFontProperties());
|
GlyphPageTreeNodeWin.cpp | 87 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); 91 if (FontPlatformData::ensureFontLoaded(fontData->platformData().hfont())) { 142 if (!getGlyphIndices(fontData->platformData().hfont(), dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS)) { 170 initSpaceGlyph(fontData->platformData().hfont(), dc, &spaceGlyph); 215 fontData->platformData().hfont(), 216 fontData->platformData().scriptCache(), 217 fontData->platformData().scriptFontProperties());
|
FontWin.cpp | 112 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0], origin, SkRect(textRect)); 153 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], 0, origin, SkRect(textRect)); 191 state.draw(graphicsContext, primaryFont()->platformData(), hdc, lroundf(point.x()), lroundf(point.y() - fontMetrics().ascent()), runInfo.bounds, runInfo.from, runInfo.to);
|
SimpleFontDataWin.cpp | 130 m_treatAsFixedPitch = platformData().isFixedPitch();
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontDataCache.h | 44 static unsigned hash(const FontPlatformData& platformData) 46 return platformData.hash();
|
FontCache.cpp | 126 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData) 133 RefPtr<OpenTypeVerticalData> verticalData = OpenTypeVerticalData::create(platformData); 145 if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidUnsupportedFonts(family), checkingAlternateName)) 146 return fontDataFromFontPlatformData(platformData, shouldRetain); 151 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData, ShouldRetain shouldRetain) 161 return gFontDataCache->get(platformData, shouldRetain); 190 for (FontPlatformDataCache::iterator platformData = gFontPlatformDataCache->begin(); platformData != platformDataEnd; ++platformData) { 191 if (platformData->value && !gFontDataCache->contains(platformData->value.get()) [all...] |
FontDataCache.cpp | 48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain shouldRetain) 50 if (!platformData) 53 Cache::iterator result = m_cache.find(*platformData); 55 pair<RefPtr<SimpleFontData>, unsigned> newValue(SimpleFontData::create(*platformData), shouldRetain == Retain ? 1 : 0); 56 m_cache.set(*platformData, newValue); 87 Cache::iterator it = m_cache.find(fontData->platformData()); 133 m_cache.remove(fontData->platformData());
|
SimpleFontData.cpp | 42 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback) 45 , m_platformData(platformData) 59 if (platformData.orientation() == Vertical && !isTextOrientationFallback) { 60 m_verticalData = platformData.verticalData(); 232 return platformData().description();
|
SimpleFontData.h | 60 static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = 0, bool isTextOrientationFallback = false) 62 return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback)); 75 const FontPlatformData& platformData() const { return m_platformData; } 109 float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetrics().unitsPerEm() : 1); }
|
FontFallbackList.cpp | 199 void FontFallbackList::setPlatformFont(const FontPlatformData& platformData) 202 RefPtr<FontData> fontData = FontCache::fontCache()->fontDataFromFontPlatformData(&platformData);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeVerticalData.h | 45 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData) 47 return adoptRef(new OpenTypeVerticalData(platformData));
|
OpenTypeVerticalData.cpp | 400 OpenTypeVerticalData::OpenTypeVerticalData(const FontPlatformData& platformData) 403 loadMetrics(platformData); 404 loadVerticalGlyphSubstitutions(platformData); 407 void OpenTypeVerticalData::loadMetrics(const FontPlatformData& platformData) 411 RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::HheaTag); 421 buffer = platformData.openTypeTable(OpenType::HmtxTag); 432 buffer = platformData.openTypeTable(OpenType::VheaTag); 443 buffer = platformData.openTypeTable(OpenType::VORGTag); 460 buffer = platformData.openTypeTable(OpenType::VmtxTag); 492 void OpenTypeVerticalData::loadVerticalGlyphSubstitutions(const FontPlatformData& platformData) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
GlyphPageTreeNodeSkia.cpp | 53 SkTypeface* typeface = fontData->platformData().typeface();
|
FontCacheSkia.cpp | 83 FontPlatformData platformData = FontPlatformData(*substitutePlatformData); 84 platformData.setFakeBold(shouldSetFakeBold); 85 platformData.setFakeItalic(shouldSetFakeItalic); 86 return fontDataFromFontPlatformData(&platformData, DoNotRetain);
|
SimpleFontDataSkia.cpp | 101 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 125 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) { 215 m_treatAsFixedPitch = platformData().isFixedPitch();
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
DragData.h | 62 ChromiumDataObject* platformData() const { return m_platformDragData; }
|