/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSFontFaceSource.cpp | 49 , m_font(font) in CSSFontFaceSource() 55 if (m_font) in CSSFontFaceSource() 56 m_font->addClient(this); in CSSFontFaceSource() 61 if (m_font) in ~CSSFontFaceSource() 62 m_font->removeClient(this); in ~CSSFontFaceSource() 81 if (m_font) in isLocal() 92 if (m_font) in isLoading() 93 return !m_font->stillNeedsLoad() && !m_font->isLoaded(); in isLoading() 99 if (m_font) in isLoaded() 100 return m_font->isLoaded(); in isLoaded() [all …]
|
D | CSSFontFaceSource.h | 57 FontResource* resource() { return m_font.get(); } in resource() 94 ResourcePtr<FontResource> m_font; // For remote fonts, a pointer to our cached resource. variable
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebFontImpl.cpp | 55 : m_font(desc, letterSpacing, wordSpacing) in WebFontImpl() 57 m_font.update(0); in WebFontImpl() 62 … return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing()); in fontDescription() 67 return m_font.fontMetrics().ascent(); in ascent() 72 return m_font.fontMetrics().descent(); in descent() 77 return m_font.fontMetrics().height(); in height() 82 return m_font.fontMetrics().lineSpacing(); in lineSpacing() 87 return m_font.fontMetrics().xHeight(); in xHeight() 107 m_font.drawText(&gc, runInfo, leftBaseline); in drawText() 114 return m_font.width(run, 0); in calculateWidth() [all …]
|
D | WebFontImpl.h | 61 WebCore::Font m_font;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
D | FontPlatformDataCocoa.mm | 46 , m_font(nsFont) 54 loadFont(nsFont, size, m_font, cgFont); 60 CTFontSymbolicTraits traits = CTFontGetSymbolicTraits(toCTFontRef(m_font)); 68 if (m_font) 69 CFRetain(m_font); 76 if (m_font && m_font != reinterpret_cast<NSFont *>(-1)) 77 CFRelease(m_font); 82 m_font = f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1) ? [f.m_font retain] : f.m_font; 96 if (m_font == f.m_font) 98 if (f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1)) [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGTextLayoutEngineSpacing.cpp | 37 : m_font(font) in SVGTextLayoutEngineSpacing() 45 const SimpleFontData* fontData = m_font.primaryFont(); in calculateSVGKerning() 75 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm(); in calculateSVGKerning() 87 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); in calculateCSSKerningAndSpacing() 96 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) in calculateCSSKerningAndSpacing() 99 float spacing = m_font.letterSpacing() + kerning; in calculateCSSKerningAndSpacing() 100 if (currentCharacter && lastCharacter && m_font.wordSpacing()) { in calculateCSSKerningAndSpacing() 102 spacing += m_font.wordSpacing(); in calculateCSSKerningAndSpacing()
|
D | SVGTextLayoutEngineBaseline.cpp | 34 : m_font(font) in SVGTextLayoutEngineBaseline() 43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize(); in calculateBaselineShift() 53 return -m_font.fontMetrics().floatHeight() / 2; in calculateBaselineShift() 55 return m_font.fontMetrics().floatHeight() / 2; in calculateBaselineShift() 126 const FontMetrics& fontMetrics = m_font.fontMetrics(); in calculateAlignmentBaselineShift() 198 const FontMetrics& fontMetrics = m_font.fontMetrics(); in calculateGlyphAdvanceAndOrientation()
|
D | SVGTextLayoutEngineSpacing.h | 41 const Font& m_font;
|
D | SVGTextLayoutEngineBaseline.h | 48 const Font& m_font; variable
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | WidthIterator.cpp | 38 : m_font(font) in WidthIterator() 73 ASSERT(m_font); in glyphDataForCharacter() 77 …return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, character, mirror, currentCh… in glyphDataForCharacter() 80 return m_font->glyphDataForCharacter(character, mirror); in glyphDataForCharacter() 143 …bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run… in advanceInternal() 152 const SimpleFontData* primaryFont = m_font->primaryFont(); in advanceInternal() 170 …width = m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar + widthSinceLa… in advanceInternal() 193 if (!m_font->isSmallCaps() || character == toUpper(character)) in advanceInternal() 196 … const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(character), rtl); in advanceInternal() 205 if (width && m_font->letterSpacing()) in advanceInternal() [all …]
|
D | FontPlatformData.cpp | 44 , m_font(hashTableDeletedFontValue()) in FontPlatformData() 61 , m_font(0) in FontPlatformData() 78 , m_font(0) in FontPlatformData() 95 , m_font(0) in FontPlatformData()
|
D | FontPlatformData.h | 99 NSFont* font() const { return m_font; } in font() 134 ASSERT(m_font || !m_cgFont); in hash() 135 …uintptr_t hashCodes[3] = { (uintptr_t)m_font, m_widthVariant, static_cast<uintptr_t>(m_isPrinterFo… in hash() 160 return m_font == hashTableDeletedFontValue(); in isHashTableDeletedValue() 192 NSFont* m_font;
|
D | WidthIterator.h | 69 const Font* m_font; member
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | FontPlatformDataWin.cpp | 181 m_font = 0; in FontPlatformData() 197 m_font = 0; in FontPlatformData() 204 : m_font(RefCountedHFONT::create(font)) in FontPlatformData() 229 m_font = 0; in FontPlatformData() 245 m_font = data.m_font; in FontPlatformData() 261 m_font = data.m_font; in FontPlatformData() 286 m_font = hFont ? RefCountedHFONT::create(hFont) : 0; in FontPlatformData() 302 m_font = data.m_font; in operator =()
|
D | FontPlatformDataWin.h | 94 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } in hfont() 108 return m_font ? m_font->hash() : NULL; in hash() 168 RefPtr<RefCountedHFONT> m_font; variable
|
D | UniscribeHelperTextRun.cpp | 48 , m_font(&font) in UniscribeHelperTextRun() 82 , m_font(0) in UniscribeHelperTextRun() 109 if (m_fontIndex == -1 || !m_font) in nextWinFontData() 119 const FontData *fontData = m_font->fontDataAt(m_fontIndex); in nextWinFontData()
|
D | UniscribeHelperTextRun.h | 79 const Font* m_font; variable
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | ComplexTextController.cpp | 48 : m_font(font) in TextLayout() 50 , m_controller(adoptPtr(new ComplexTextController(&m_font, m_run, true))) in TextLayout() 58 if (m_font.wordSpacing() && from && Font::treatAsSpace(m_run[from])) in width() 59 beforeWidth += m_font.wordSpacing(); in width() 77 Font m_font; member in WebCore::TextLayout 114 : m_font(*font) in ComplexTextController() 305 if (m_font.isSmallCaps()) in collectComplexTextRuns() 326 …bool nextIsSmallCaps = m_font.isSmallCaps() && !(U_GET_GC_MASK(baseCharacter) & U_GC_M_MASK) && (u… in collectComplexTextRuns() 335 …nextFontData = m_font.fontDataForCombiningCharacterSequence(sequenceStart, curr - sequenceStart, n… in collectComplexTextRuns() 348 if (m_font.isSmallCaps()) { in collectComplexTextRuns() [all …]
|
D | ComplexTextControllerCoreText.mm | 188 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, … 201 fontData = m_font.fontDataAt(0)->fontDataForCharacter(baseCharacter); 203 …RetainPtr<WebCascadeList> cascadeList(AdoptNS, [[WebCascadeList alloc] initWithFont:&m_font charac… 205 …reateMutableCopy(kCFAllocatorDefault, 0, fontData->getCFStringAttributes(m_font.typesettingFeature… 210 …optCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_font.pixelSize(), 0, fo… 213 …stringAttributes = fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platfor… 261 …for (const FontData* candidateFontData = m_font.fontDataAt(i); candidateFontData; candidateFontDat… 275 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation + runRang… 278 …runFontData = FontCache::fontCache()->getFontData(m_font.fontDescription(), fontName.get(), false,… 282 …tformData runFontPlatformData((NSFont *)runFont, CTFontGetSize(runFont), m_font.fontDescription().… [all …]
|
D | ComplexTextController.h | 141 const Font& m_font; variable
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | PopupMenuStyle.h | 43 , m_font(font) in m_foregroundColor() 56 const Font& font() const { return m_font; } in font() 67 Font m_font; variable
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | HarfBuzzShaper.cpp | 352 : m_font(font) in HarfBuzzShaper() 502 const FontDescription& description = m_font->fontDescription(); in setFontFeatures() 574 const SimpleFontData* nextFontData = m_font->glyphDataForCharacter(character, false).fontData; in collectHarfBuzzRuns() 608 nextFontData = m_font->glyphDataForCharacter(character, false).fontData; in collectHarfBuzzRuns() 671 if (cachedResults->dir == props.direction && cachedResults->font == *m_font) { in shapeHarfBuzzRuns() 690 if (m_font->isSmallCaps() && u_islower(m_normalizedBuffer[currentRun->startIndex()])) { in shapeHarfBuzzRuns() 692 … currentFontData = m_font->glyphDataForCharacter(upperText[0], false, SmallCapsVariant).fontData; in shapeHarfBuzzRuns() 699 if (m_font->fontDescription().orientation() == Vertical) in shapeHarfBuzzRuns() 708 … runCache.insert(key, new CachedShapingResults(harfBuzzBuffer.get(), m_font, props.direction)); in shapeHarfBuzzRuns()
|
D | HarfBuzzShaper.h | 133 const Font* m_font; variable
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | CanvasRenderingContext2D.cpp | 176 , m_font(other.m_font) in State() 180 m_font.fontSelector()->registerForInvalidationCallbacks(this); in State() 189 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); in operator =() 211 m_font = other.m_font; in operator =() 215 m_font.fontSelector()->registerForInvalidationCallbacks(this); in operator =() 223 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); in ~State() 228 ASSERT_ARG(fontSelector, fontSelector == m_font.fontSelector()); in fontsNeedUpdate() 231 m_font.update(fontSelector); in fontsNeedUpdate() 1982 const FontDescription& fontDescription = state().m_font.fontDescription(); in font() 2072 state().m_font.fontSelector()->unregisterForInvalidationCallbacks(&modifiableState()); in setFont() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
D | BreakingContextInlineHeaders.h | 54 const Font* m_font; member 59 …m_layout = m_font->createLayoutForMacComplexText(RenderBlockFlow::constructTextRun(renderText, *m_… in createLayout() 771 m_renderTextInfo.m_font = &font; in handleText() 774 } else if (m_renderTextInfo.m_layout && m_renderTextInfo.m_font != &font) { in handleText() 775 m_renderTextInfo.m_font = &font; in handleText()
|