HomeSort by relevance Sort by last modified time
    Searched defs:fontData (Results 1 - 25 of 47) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/css/
LocalFontFaceSource.cpp 23 RefPtr<SimpleFontData> fontData = FontCache::fontCache()->getFontData(fontDescription, m_fontName, true);
24 m_histograms.record(fontData);
25 return fontData.release();
CSSFontFaceSource.cpp 56 // See if we have a mapping in our FontData cache.
60 RefPtr<SimpleFontData>& fontData = m_fontDataTable.add(key.hash(), nullptr).storedValue->value;
61 if (!fontData)
62 fontData = createFontData(fontDescription);
63 return fontData; // No release, because fontData is a reference to a RefPtr that is held in the m_fontDataTable.
CSSSegmentedFontFace.cpp 127 PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(const FontDescription& fontDescription)
136 RefPtr<SegmentedFontData>& fontData = m_fontDataTable.add(key.hash(), nullptr).storedValue->value;
137 if (fontData && fontData->numRanges())
138 return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it has.
140 if (!fontData)
141 fontData = SegmentedFontData::create();
159 appendFontData(fontData.get(), faceFontData.release(), (*it)->cssFontFace()->ranges());
162 if (fontData->numRanges())
163 return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it (…)
    [all...]
RemoteFontFaceSource.cpp 38 SimpleFontData* fontData = it->value.get();
39 if (fontData && fontData->customFontData())
40 fontData->customFontData()->clearFontFaceSource();
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
FontCacheAndroidTest.cpp 25 RefPtr<SimpleFontData> fontData = fontCache->fallbackFontForCharacter(fontDescription, testChar, 0);
26 EXPECT_TRUE(fontData);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontCacheTest.cpp 36 RefPtr<SimpleFontData> fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
37 EXPECT_TRUE(fontData);
40 fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
41 EXPECT_TRUE(fontData);
FontDataCache.cpp 70 // If shouldRetain is DoNotRetain and count is 0, we want to remove the fontData from
83 void FontDataCache::release(const SimpleFontData* fontData)
85 ASSERT(!fontData->isCustomFont());
87 Cache::iterator it = m_cache.find(fontData->platformData());
101 for (Cache::iterator fontData = m_cache.begin(); fontData != end; ++fontData) {
102 OpenTypeVerticalData* verticalData = const_cast<OpenTypeVerticalData*>(fontData->value.first->verticalData());
122 static bool isPurging; // Guard against reentry when e.g. a deleted FontData releases its small caps FontData
    [all...]
FontFallbackList.cpp 81 const FontData* fontData = primaryFontData(fontDescription);
82 if (!fontData->isSegmented())
83 m_pitch = static_cast<const SimpleFontData*>(fontData)->pitch();
85 const SegmentedFontData* segmentedFontData = static_cast<const SegmentedFontData*>(fontData);
88 m_pitch = segmentedFontData->rangeAt(0).fontData()->pitch();
120 const FontData* FontFallbackList::primaryFontData(const FontDescription& fontDescription) const
125 const FontData* fontData = fontDataAt(fontDescription, fontIndex);
126 if (!fontData) {
    [all...]
GlyphPage.h 52 , fontData(f)
56 const SimpleFontData* fontData;
80 static PassRefPtr<GlyphPage> createForSingleFontData(GlyphPageTreeNode* owner, const SimpleFontData* fontData)
82 ASSERT(fontData);
83 return adoptRef(new GlyphPage(owner, fontData));
140 void setGlyphDataForIndex(unsigned index, Glyph glyph, const SimpleFontData* fontData)
148 m_perGlyphFontData[index] = glyph ? fontData : 0;
153 ASSERT(!glyph || fontData == m_fontDataForAllGlyphs);
158 setGlyphDataForIndex(index, glyphData.glyph, glyphData.fontData);
178 void removeFontDataFromSystemFallbackPage(const SimpleFontData* fontData)
    [all...]
SegmentedFontData.h 30 #include "platform/fonts/FontData.h"
38 FontDataRange(UChar32 from, UChar32 to, PassRefPtr<SimpleFontData> fontData)
41 , m_fontData(fontData)
48 PassRefPtr<SimpleFontData> fontData() const { return m_fontData; }
56 class PLATFORM_EXPORT SegmentedFontData : public FontData {
85 DEFINE_TYPE_CASTS(SegmentedFontData, FontData, fontData, fontData->isSegmented(), fontData.isSegmented());
WidthIterator.cpp 157 const SimpleFontData* fontData = glyphData.fontData;
159 ASSERT(fontData);
164 width = m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar + widthSinceLastRounding);
166 width = fontData->widthForGlyph(glyph);
175 if (m_run.applyWordRounding() && width == fontData->spaceWidth() && (fontData->pitch() == FixedPitch || glyph == fontData->spaceGlyph()))
176 width = fontData->adjustedSpaceWidth();
179 if (fontData != lastFontData && width)
    [all...]
Font.cpp 79 // Our FontData don't have to be checked, since checking the font description will be fine.
363 RefPtr<SimpleFontData> uprightFontData = data.fontData->uprightOrientationFontData();
373 if (uprightData.fontData)
377 RefPtr<SimpleFontData> verticalRightFontData = data.fontData->verticalRightOrientationFontData();
387 if (verticalRightData.fontData)
433 if (data.fontData && (data.fontData->platformData().orientation() == Horizontal || data.fontData->isTextOrientationFallback()))
436 if (data.fontData) {
438 if (!data.fontData->hasVerticalGlyphs())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextLayoutEngineSpacing.cpp 50 const SimpleFontData* fontData = m_font.primaryFont();
51 if (!fontData->isSVGFont()) {
56 ASSERT(fontData->isCustomFont());
57 ASSERT(fontData->isSVGFont());
59 RefPtr<CustomFontData> customFontData = fontData->customFontData();
SVGTextRunRenderingContext.cpp 39 static inline const SVGFontData* svgFontAndFontFaceElementForFontData(const SimpleFontData* fontData, SVGFontFaceElement*& fontFace, SVGFontElement*& font)
41 ASSERT(fontData);
42 ASSERT(fontData->isCustomFont());
43 ASSERT(fontData->isSVGFont());
45 RefPtr<CustomFontData> customFontData = fontData->customFontData();
88 void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
93 const SVGFontData* svgFontData = svgFontAndFontFaceElementForFontData(fontData, fontFaceElement, fontElement);
118 float scale = scaleEmToUnits(fontData->platformData().size(), fontFaceElement->unitsPerEm());
188 if (glyphData.glyph == missingGlyphData.glyph && glyphData.fontData == missingGlyphData.fontData) {
    [all...]
  /external/chromium_org/third_party/skia/include/device/xps/
SkXPSDevice.h 151 SkStream* fontData;
  /external/skia/include/device/xps/
SkXPSDevice.h 151 SkStream* fontData;
  /external/chromium_org/third_party/skia/experimental/PdfViewer/
SkPdfFont.cpp 131 SkPdfStandardFontEntry fontData;
133 if (standardFontMap.find(fontName, &fontData)) {
136 bold = bold || fontData.fIsBold;
137 italic = italic || fontData.fIsItalic;
140 fontData.fName,
  /external/skia/experimental/PdfViewer/
SkPdfFont.cpp 131 SkPdfStandardFontEntry fontData;
133 if (standardFontMap.find(fontName, &fontData)) {
136 bold = bold || fontData.fIsBold;
137 italic = italic || fontData.fIsItalic;
140 fontData.fName,
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.h 75 static PassOwnPtr<HarfBuzzRun> create(const SimpleFontData* fontData, unsigned startIndex, unsigned numCharacters, TextDirection direction, hb_script_t script)
77 return adoptPtr(new HarfBuzzRun(fontData, startIndex, numCharacters, direction, script));
88 const SimpleFontData* fontData() { return m_fontData; }
HarfBuzzShaper.cpp 107 CachedShapingResults::CachedShapingResults(hb_buffer_t* harfBuzzBuffer, const Font* fontData, hb_direction_t dirData, const String& newLocale)
109 , font(*fontData)
238 inline HarfBuzzShaper::HarfBuzzRun::HarfBuzzRun(const SimpleFontData* fontData, unsigned startIndex, unsigned numCharacters, TextDirection direction, hb_script_t script)
239 : m_fontData(fontData)
595 const SimpleFontData* fontData;
610 const SimpleFontData* nextFontData = font->glyphDataForCharacter(character, false).fontData;
632 nextFontData = font->glyphDataForCharacter(character, false).fontData;
753 || candidateRuns[i].fontData != run.fontData)
757 addHarfBuzzRun(run.start, lastMatchingRun.end, run.fontData, run.script)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
ComplexTextController.h 78 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange)
80 return adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange));
83 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
85 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr));
89 const SimpleFontData* fontData() const { return m_fontData; }
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
ComponentsView.java 41 import org.eclipse.swt.graphics.FontData;
272 FontData[] fontData = (font==null ? JFaceResources.getDefaultFont() : font).getFontData();
273 FontData boldFontData = new FontData(fontData[0].getName(), fontData[0].getHeight(), SWT.BOLD);
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page_doc.cpp 172 CPDF_CountedObject<CPDF_Font*>* fontData;
173 m_FontMap.GetNextAssoc(pos, fontDict, fontData);
174 nCount = fontData->m_nCount;
176 delete fontData->m_Obj;
177 fontData->m_Obj = NULL;
253 CPDF_CountedObject<CPDF_Font*>* fontData;
254 if (m_FontMap.Lookup(pFontDict, fontData)) {
255 if (!fontData->m_Obj) {
258 fontData->m_nCount ++;
259 return fontData->m_Obj;
    [all...]
  /external/chromium_org/third_party/skia/src/device/xps/
SkXPSDevice.cpp 124 , fontData(NULL)
130 //xpsFont owns fontData ref
349 (unsigned char *) current->fontData->getMemoryBase(),
350 (unsigned long) current->fontData->getLength(),
    [all...]
  /external/skia/src/device/xps/
SkXPSDevice.cpp 124 , fontData(NULL)
130 //xpsFont owns fontData ref
349 (unsigned char *) current->fontData->getMemoryBase(),
350 (unsigned long) current->fontData->getLength(),
    [all...]

Completed in 299 milliseconds

1 2