/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontImpl.cpp | 55 : m_font(desc, letterSpacing, wordSpacing) 57 m_font.update(0); 62 return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing()); 67 return m_font.fontMetrics().ascent(); 72 return m_font.fontMetrics().descent(); 77 return m_font.fontMetrics().height(); 82 return m_font.fontMetrics().lineSpacing(); 87 return m_font.fontMetrics().xHeight() [all...] |
WebFontImpl.h | 61 WebCore::Font m_font; member in class:blink::WebFontImpl
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
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 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextLayoutEngineSpacing.cpp | 37 : m_font(font) 45 const SimpleFontData* fontData = m_font.primaryFont(); 75 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm(); 87 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); 96 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) 99 float spacing = m_font.letterSpacing() + kerning; 100 if (currentCharacter && lastCharacter && m_font.wordSpacing()) { 102 spacing += m_font.wordSpacing() [all...] |
SVGTextLayoutEngineSpacing.h | 41 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineSpacing
|
SVGTextLayoutEngineBaseline.h | 48 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineBaseline
|
SVGTextLayoutEngineBaseline.cpp | 34 : m_font(font) 43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize(); 53 return -m_font.fontMetrics().floatHeight() / 2; 55 return m_font.fontMetrics().floatHeight() / 2; 126 const FontMetrics& fontMetrics = m_font.fontMetrics(); 198 const FontMetrics& fontMetrics = m_font.fontMetrics();
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSFontFaceSource.cpp | 49 , m_font(font) 55 if (m_font) 56 m_font->addClient(this); 61 if (m_font) 62 m_font->removeClient(this); 81 if (m_font) 92 if (m_font) 93 return !m_font->stillNeedsLoad() && !m_font->isLoaded(); 99 if (m_font) [all...] |
CSSFontFaceSource.h | 57 FontResource* resource() { return m_font.get(); } 94 ResourcePtr<FontResource> m_font; // For remote fonts, a pointer to our cached resource. member in class:WebCore::CSSFontFaceSource
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontPlatformData.cpp | 44 , m_font(hashTableDeletedFontValue()) 61 , m_font(0) 78 , m_font(0) 95 , m_font(0)
|
WidthIterator.cpp | 38 : m_font(font) 73 ASSERT(m_font); 77 return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, character, mirror, currentCharacter, advanceLength); 80 return m_font->glyphDataForCharacter(character, mirror); 143 bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run.spacingDisabled(); 152 const SimpleFontData* primaryFont = m_font->primaryFont(); 170 width = m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar + widthSinceLastRounding); 193 if (!m_font->isSmallCaps() || character == toUpper(character)) 196 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(character), rtl) [all...] |
FontPlatformData.h | 99 NSFont* font() const { return m_font; } 134 ASSERT(m_font || !m_cgFont); 135 uintptr_t hashCodes[3] = { (uintptr_t)m_font, m_widthVariant, static_cast<uintptr_t>(m_isPrinterFont << 3 | m_orientation << 2 | m_syntheticBold << 1 | m_syntheticOblique) }; 160 return m_font == hashTableDeletedFontValue(); 192 NSFont* m_font; member in class:WebCore::FontPlatformData
|
WidthIterator.h | 69 const Font* m_font; member in struct:WebCore::WidthIterator
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
PopupMenuStyle.h | 43 , m_font(font) 56 const Font& font() const { return m_font; } 67 Font m_font; member in class:WebCore::PopupMenuStyle
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontPlatformDataWin.h | 94 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } 108 return m_font ? m_font->hash() : NULL; 168 RefPtr<RefCountedHFONT> m_font; member in class:WebCore::FontPlatformData
|
UniscribeHelperTextRun.cpp | 48 , m_font(&font) 82 , m_font(0) 109 if (m_fontIndex == -1 || !m_font) 119 const FontData *fontData = m_font->fontDataAt(m_fontIndex);
|
UniscribeHelperTextRun.h | 79 const Font* m_font; member in class:WebCore::UniscribeHelperTextRun
|
FontPlatformDataWin.cpp | 181 m_font = 0; 197 m_font = 0; 204 : m_font(RefCountedHFONT::create(font)) 229 m_font = 0; 245 m_font = data.m_font; 261 m_font = data.m_font; 277 // FIXME: This can be removed together with m_font once the last few 286 m_font = hFont ? RefCountedHFONT::create(hFont) : 0 [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
ComplexTextControllerCoreText.mm | 188 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 201 fontData = m_font.fontDataAt(0)->fontDataForCharacter(baseCharacter); 203 RetainPtr<WebCascadeList> cascadeList(AdoptNS, [[WebCascadeList alloc] initWithFont:&m_font character:baseCharacter]); 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()); 261 for (const FontData* candidateFontData = m_font.fontDataAt(i); candidateFontData; candidateFontData = m_font.fontDataAt(++i)) { 275 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation + runRange.location, runRange.length, m_run.ltr())); 278 runFontData = FontCache::fontCache()->getFontData(m_font.fontDescription(), fontName.get(), false, DoNotRetain).get() [all...] |
ComplexTextController.cpp | 48 : m_font(font) 50 , m_controller(adoptPtr(new ComplexTextController(&m_font, m_run, true))) 58 if (m_font.wordSpacing() && from && Font::treatAsSpace(m_run[from])) 59 beforeWidth += m_font.wordSpacing(); 77 Font m_font; member in class:WebCore::TextLayout 114 : m_font(*font) 305 if (m_font.isSmallCaps()) 326 bool nextIsSmallCaps = m_font.isSmallCaps() && !(U_GET_GC_MASK(baseCharacter) & U_GC_M_MASK) && (uppercaseCharacter = u_toupper(baseCharacter)) != baseCharacter; 335 nextFontData = m_font.fontDataForCombiningCharacterSequence(sequenceStart, curr - sequenceStart, nextIsSmallCaps ? SmallCapsVariant : NormalVariant); 348 if (m_font.isSmallCaps()) [all...] |
ComplexTextController.h | 141 const Font& m_font; member in class:WebCore::ComplexTextController
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzShaper.cpp | 352 : m_font(font) 502 const FontDescription& description = m_font->fontDescription(); 574 const SimpleFontData* nextFontData = m_font->glyphDataForCharacter(character, false).fontData; 608 nextFontData = m_font->glyphDataForCharacter(character, false).fontData; 671 if (cachedResults->dir == props.direction && cachedResults->font == *m_font) { 690 if (m_font->isSmallCaps() && u_islower(m_normalizedBuffer[currentRun->startIndex()])) { 692 currentFontData = m_font->glyphDataForCharacter(upperText[0], false, SmallCapsVariant).fontData; 699 if (m_font->fontDescription().orientation() == Vertical) 708 runCache.insert(key, new CachedShapingResults(harfBuzzBuffer.get(), m_font, props.direction)); [all...] |
HarfBuzzShaper.h | 133 const Font* m_font; member in class:WebCore::FINAL
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 176 , m_font(other.m_font) 180 m_font.fontSelector()->registerForInvalidationCallbacks(this); 189 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); 211 m_font = other.m_font; 215 m_font.fontSelector()->registerForInvalidationCallbacks(this); 223 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); 228 ASSERT_ARG(fontSelector, fontSelector == m_font.fontSelector()); 231 m_font.update(fontSelector) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 54 const Font* m_font; member in struct:WebCore::RenderTextInfo 59 m_layout = m_font->createLayoutForMacComplexText(RenderBlockFlow::constructTextRun(renderText, *m_font, renderText, renderText->style()), renderText->textLength(), xPos, collapseWhiteSpace); [all...] |