/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontMac.cpp | 59 const FontPlatformData& platformData = fontData->platformData(); in setupPaint() local 60 const float textSize = platformData.m_size >= 0 ? platformData.m_size : 12; in setupPaint() 65 paint->setVerticalText(platformData.orientation() == Vertical); in setupPaint() 66 SkTypeface* typeface = SkCreateTypefaceFromCTFont(platformData.ctFont()); in setupPaint() 69 paint->setFakeBoldText(platformData.m_syntheticBold); in setupPaint() 70 paint->setTextSkewX(platformData.m_syntheticOblique ? -SK_Scalar1 / 4 : 0); in setupPaint() 122 if (font->platformData().orientation() == Vertical) in drawGlyphs() 140 if (font->platformData().orientation() == Vertical) { in drawGlyphs() 179 if (font->platformData().orientation() == Vertical) in drawGlyphs()
|
D | GlyphPageTreeNodeMac.cpp | 46 if (fontData->platformData().isCompositeFontReference()) in shouldUseCoreText() 48 if (fontData->platformData().widthVariant() != RegularWidth || fontData->hasVerticalGlyphs()) { in shouldUseCoreText() 65 …CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); in fill() 74 …} else if (!fontData->platformData().isCompositeFontReference() && fontData->platformData().widthV… in fill() 75 …&& CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLe… in fill() 106 …RetainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(fontData->platformData().ctFont(), 0)); in fill() 119 if (gotBaseFont || fontData->platformData().isCompositeFontReference()) { in fill()
|
D | 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, fontDesc… 217 if (!platformData->font()) 219 return platformData.leakPtr();
|
D | 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 …(substituteFont, platformData().size(), isUsingPrinterFont, syntheticBold, syntheticOblique, platf… 234 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) 239 if (platformData().orientation() == Horizontal) { 258 static CFDataRef copyFontTableForTag(FontPlatformData& platformData, FourCharCode tableName) 260 return CGFontCopyTableForTag(platformData.cgFont(), tableName); 373 …boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation(… [all …]
|
D | SimpleFontDataCoreText.cpp | 45 CFDictionarySetValue(mutableAttributes, kCTFontAttributeName, platformData().ctFont()); in getCFStringAttributes() 53 …bool allowLigatures = (orientation == Horizontal && platformData().allowsLigatures()) || (typesett… in getCFStringAttributes()
|
D | ComplexTextControllerCoreText.mm | 87 fontDescriptor = CTFontCopyFontDescriptor(fontData->platformData().ctFont()); 205 …ntData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()… 210 …fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_f… 213 …ntData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()… 257 if (!CFEqual(runFont, fontData->platformData().ctFont())) { 263 …ainPtr<CGFontRef> cgFont(AdoptCF, CTFontCopyGraphicsFont(runFontData->platformData().ctFont(), 0));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontCache.cpp | 126 …ticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData) in getVerticalData() argument 133 RefPtr<OpenTypeVerticalData> verticalData = OpenTypeVerticalData::create(platformData); in getVerticalData() 145 …if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidU… in getFontData() local 146 return fontDataFromFontPlatformData(platformData, shouldRetain); in getFontData() 151 …Data> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData, ShouldRetain s… in fontDataFromFontPlatformData() argument 161 return gFontDataCache->get(platformData, shouldRetain); in fontDataFromFontPlatformData() 190 …tPlatformDataCache::iterator platformData = gFontPlatformDataCache->begin(); platformData != platf… in purgePlatformFontDataCache() local 191 if (platformData->value && !gFontDataCache->contains(platformData->value.get())) in purgePlatformFontDataCache() 192 keysToRemove.append(platformData->key); in purgePlatformFontDataCache()
|
D | FontDataCache.cpp | 48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain sh… in get() argument 50 if (!platformData) in get() 53 Cache::iterator result = m_cache.find(*platformData); in get() 55 …pair<RefPtr<SimpleFontData>, unsigned> newValue(SimpleFontData::create(*platformData), shouldRetai… in get() 56 m_cache.set(*platformData, newValue); in get() 87 Cache::iterator it = m_cache.find(fontData->platformData()); in release() 133 m_cache.remove(fontData->platformData()); in purgeLeastRecentlyUsed()
|
D | SimpleFontData.cpp | 42 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, PassRefPtr<CustomFontData> cus… in SimpleFontData() argument 45 , m_platformData(platformData) in SimpleFontData() 59 if (platformData.orientation() == Vertical && !isTextOrientationFallback) { in SimpleFontData() 60 m_verticalData = platformData.verticalData(); in SimpleFontData() 232 return platformData().description(); in description()
|
D | FontDataCache.h | 44 static unsigned hash(const FontPlatformData& platformData) in hash() 46 return platformData.hash(); in hash()
|
D | SimpleFontData.h | 60 …static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFo… 62 return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback)); 75 const FontPlatformData& platformData() const { return m_platformData; } in platformData() function 109 …float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetri… in sizePerUnit()
|
D | FontFallbackList.cpp | 199 void FontFallbackList::setPlatformFont(const FontPlatformData& platformData) in setPlatformFont() argument 202 RefPtr<FontData> fontData = FontCache::fontCache()->fontDataFromFontPlatformData(&platformData); in setPlatformFont()
|
D | FontFastPath.cpp | 201 …if (data.fontData && (data.fontData->platformData().orientation() == Horizontal || data.fontData->… in glyphDataAndPageForCharacter() 283 …if (characterFontData->platformData().orientation() == Vertical && !characterFontData->hasVertical… in glyphDataAndPageForCharacter() 296 …if (!isCJKIdeographOrSymbol(c) && data.fontData->platformData().orientation() != Horizontal && !da… in glyphDataAndPageForCharacter() 492 if (fontData->platformData().orientation() == Horizontal) { in offsetToMiddleOfGlyph()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | UniscribeHelperTextRun.cpp | 44 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun() 45 font.primaryFont()->platformData().scriptCache(), in UniscribeHelperTextRun() 46 font.primaryFont()->platformData().scriptFontProperties(), in UniscribeHelperTextRun() 131 m_hfonts.append(simpleFontData->platformData().hfont()); in nextWinFontData() 132 m_scriptCaches.append(simpleFontData->platformData().scriptCache()); in nextWinFontData() 133 m_fontProperties.append(simpleFontData->platformData().scriptFontProperties()); in nextWinFontData()
|
D | GlyphPageTreeNodeWin.cpp | 87 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); in fillBMPGlyphs() 91 if (FontPlatformData::ensureFontLoaded(fontData->platformData().hfont())) { in fillBMPGlyphs() 142 …if (!getGlyphIndices(fontData->platformData().hfont(), dc, buffer, length, localGlyphBuffer, GGI_M… in fillBMPGlyphs() 170 initSpaceGlyph(fontData->platformData().hfont(), dc, &spaceGlyph); in fillBMPGlyphs() 215 fontData->platformData().hfont(), in fillNonBMPGlyphs() 216 fontData->platformData().scriptCache(), in fillNonBMPGlyphs() 217 fontData->platformData().scriptFontProperties()); in fillNonBMPGlyphs()
|
D | FontWin.cpp | 112 …paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0]… in drawGlyphs() 153 …paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], 0, origin, … in drawGlyphs() 191 …state.draw(graphicsContext, primaryFont()->platformData(), hdc, lroundf(point.x()), lroundf(point.… in drawComplexText()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
D | FontCacheSkia.cpp | 83 FontPlatformData platformData = FontPlatformData(*substitutePlatformData); in platformFallbackForCharacter() local 84 platformData.setFakeBold(shouldSetFakeBold); in platformFallbackForCharacter() 85 platformData.setFakeItalic(shouldSetFakeItalic); in platformFallbackForCharacter() 86 return fontDataFromFontPlatformData(&platformData, DoNotRetain); in platformFallbackForCharacter()
|
D | SimpleFontDataSkia.cpp | 101 …if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.f… in platformInit() 125 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) { in platformInit() 215 m_treatAsFixedPitch = platformData().isFixedPitch(); in determinePitch()
|
D | GlyphPageTreeNodeSkia.cpp | 53 SkTypeface* typeface = fontData->platformData().typeface(); in fill()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
D | OpenTypeVerticalData.cpp | 400 OpenTypeVerticalData::OpenTypeVerticalData(const FontPlatformData& platformData) in OpenTypeVerticalData() argument 403 loadMetrics(platformData); in OpenTypeVerticalData() 404 loadVerticalGlyphSubstitutions(platformData); in OpenTypeVerticalData() 407 void OpenTypeVerticalData::loadMetrics(const FontPlatformData& platformData) in loadMetrics() argument 411 RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::HheaTag); in loadMetrics() 421 buffer = platformData.openTypeTable(OpenType::HmtxTag); in loadMetrics() 432 buffer = platformData.openTypeTable(OpenType::VheaTag); in loadMetrics() 443 buffer = platformData.openTypeTable(OpenType::VORGTag); in loadMetrics() 460 buffer = platformData.openTypeTable(OpenType::VmtxTag); in loadMetrics() 492 void OpenTypeVerticalData::loadVerticalGlyphSubstitutions(const FontPlatformData& platformData) in loadVerticalGlyphSubstitutions() argument [all …]
|
D | OpenTypeVerticalData.h | 45 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData) in create() argument 47 return adoptRef(new OpenTypeVerticalData(platformData)); in create()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | HarfBuzzFace.h | 50 static PassRefPtr<HarfBuzzFace> create(FontPlatformData* platformData, uint64_t uniqueID) in create() argument 52 return adoptRef(new HarfBuzzFace(platformData, uniqueID)); in create()
|
D | FontHarfBuzz.cpp | 69 font->platformData().setupPaint(&paint, gc); in paintGlyphs() 82 font->platformData().setupPaint(&paint, gc); in paintGlyphs() 110 if (font->platformData().orientation() == Vertical && verticalData) { in drawGlyphs()
|
D | HarfBuzzFace.cpp | 80 HarfBuzzFace::HarfBuzzFace(FontPlatformData* platformData, uint64_t uniqueID) in HarfBuzzFace() argument 81 : m_platformData(platformData) in HarfBuzzFace()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DragData.h | 62 ChromiumDataObject* platformData() const { return m_platformDragData; } in platformData() function
|