HomeSort by relevance Sort by last modified time
    Searched refs:platformData (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/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 79 bool isVertical = font->platformData().orientation() == Vertical;
106 font->platformData().setupPaint(&paint);
128 font->platformData().setupPaint(&paint);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/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);
121 if (font->platformData().orientation() == Vertical)
139 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 = font.fontDataAt(0)->fontDataForCharacter(character)->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);
241 // In that case, we don't want to use the platformData.
242 OwnPtr<FontPlatformData> platformData = adoptPtr(new FontPlatformData(platformFont, size, fontDescription.usePrinterFont(), syntheticBol (…)
    [all...]
SimpleFontDataMac.mm 98 if (!fontData->platformData().cgFont())
123 bool isUsingPrinterFont = platformData().isPrinterFont();
127 bool syntheticBold = platformData().syntheticBold() && !(traits & kCTFontBoldTrait);
128 bool syntheticOblique = platformData().syntheticOblique() && !(traits & kCTFontItalicTrait);
130 FontPlatformData substitutePlatform(substituteFont, platformData().size(), isUsingPrinterFont, syntheticBold, syntheticOblique, platformData().orientation(), platformData().widthVariant());
235 if (platformData().orientation() == Vertical && !isTextOrientationFallback())
240 if (platformData().orientation() == Horizontal) {
259 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/core/platform/graphics/chromium/
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());
GlyphPageTreeNodeChromiumWin.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);
213 fontData->platformData().hfont(),
214 fontData->platformData().scriptCache(),
215 fontData->platformData().scriptFontProperties());
FontChromiumWin.cpp 115 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0], origin, SkRect(textRect));
156 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], 0, origin, SkRect(textRect));
SimpleFontDataChromiumWin.cpp 130 m_treatAsFixedPitch = platformData().isFixedPitch();
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/
OpenTypeVerticalData.h 44 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData)
46 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/core/platform/graphics/
FontCache.cpp 234 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData)
241 RefPtr<OpenTypeVerticalData> verticalData = OpenTypeVerticalData::create(platformData);
250 static unsigned hash(const FontPlatformData& platformData)
252 return platformData.hash();
296 FontPlatformData* platformData = getFontResourcePlatformData(fontDescription, family, checkingAlternateName);
297 if (!platformData)
300 return getFontResourceData(platformData, shouldRetain);
303 PassRefPtr<SimpleFontData> FontCache::getFontResourceData(const FontPlatformData* platformData, ShouldRetain shouldRetain)
305 if (!platformData)
318 FontDataCache::iterator result = gFontDataCache->find(*platformData);
    [all...]
SimpleFontData.cpp 45 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, bool isCustomFont, bool isLoading, bool isTextOrientationFallback)
48 , m_platformData(platformData)
63 if (platformData.orientation() == Vertical && !isTextOrientationFallback) {
64 m_verticalData = platformData.verticalData();
237 return platformData().description();
FontFallbackList.cpp 133 void FontFallbackList::setPlatformFont(const FontPlatformData& platformData)
137 RefPtr<FontData> fontData = fontCache()->getFontResourceData(&platformData);
SimpleFontData.h 71 static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, bool isCustomFont = false, bool isLoading = false, bool isTextOrientationFallback = false)
73 return adoptRef(new SimpleFontData(platformData, isCustomFont, isLoading, isTextOrientationFallback));
86 const FontPlatformData& platformData() const { return m_platformData; }
120 float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetrics().unitsPerEm() : 1); }
FontFastPath.cpp 200 if (data.fontData && (data.fontData->platformData().orientation() == Horizontal || data.fontData->isTextOrientationFallback()))
281 if (characterFontData->platformData().orientation() == Vertical && !characterFontData->hasVerticalGlyphs() && isCJKIdeographOrSymbol(c))
294 if (!isCJKIdeographOrSymbol(c) && data.fontData->platformData().orientation() != Horizontal && !data.fontData->isTextOrientationFallback())
490 if (fontData->platformData().orientation() == Horizontal) {
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
FontCacheSkia.cpp 81 FontPlatformData platformData = FontPlatformData(*substitutePlatformData);
82 platformData.setFakeBold(shouldSetFakeBold);
83 platformData.setFakeItalic(shouldSetFakeItalic);
84 return getFontResourceData(&platformData, DoNotRetain);
GlyphPageTreeNodeSkia.cpp 50 fontData->platformData().setupPaint(&paint);
SimpleFontDataSkia.cpp 100 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) {
124 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) {
214 m_treatAsFixedPitch = platformData().isFixedPitch();
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragData.h 62 ChromiumDataObject* platformData() const { return m_platformDragData; }
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontFaceSource.cpp 196 fontData = SimpleFontData::create(temporaryFont->platformData(), true, true);

Completed in 284 milliseconds

1 2