/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/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/web/ |
WebFontImpl.cpp | 56 : m_font(desc, letterSpacing, wordSpacing) 58 m_font.update(0); 63 return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing()); 68 return m_font.fontMetrics().ascent(); 73 return m_font.fontMetrics().descent(); 78 return m_font.fontMetrics().height(); 83 return m_font.fontMetrics().lineSpacing(); 88 return m_font.fontMetrics().xHeight() [all...] |
WebFontImpl.h | 61 WebCore::Font m_font; member in class:WebKit::WebFontImpl
|
/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); 76 if (m_font) 77 return m_font->isLoaded(); 83 if (m_font) 84 return !m_font->errorOccurred(); 99 m_histograms.recordRemoteFont(m_font.get()) [all...] |
CSSFontFaceSource.h | 92 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/core/rendering/svg/ |
SVGTextLayoutEngineSpacing.cpp | 39 : m_font(font) 47 const SimpleFontData* fontData = m_font.primaryFont(); 76 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm(); 90 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); 99 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) 102 float spacing = m_font.letterSpacing() + kerning; 103 if (currentCharacter && lastCharacter && m_font.wordSpacing()) { 105 spacing += m_font.wordSpacing() [all...] |
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();
|
SVGTextLayoutEngineSpacing.h | 41 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineSpacing
|
SVGTextLayoutEngineBaseline.h | 48 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineBaseline
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
FontPlatformDataChromiumWin.h | 88 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } 98 return m_font ? m_font->hash() : NULL; 103 return m_font == other.m_font && m_size == other.m_size && m_orientation == other.m_orientation; 154 RefPtr<RefCountedHFONT> m_font; member in class:WebCore::FontPlatformData 158 RefPtr<SkTypeface> m_typeface; // cached from m_font 159 int m_paintTextFlags; // cached from m_font
|
FontPlatformDataChromiumWin.cpp | 122 : m_font(0) 132 : m_font(0) 142 : m_font(RefCountedHFONT::create(font)) 153 : m_font(0) 163 : m_font(data.m_font) 174 : m_font(data.m_font) 187 m_font = data.m_font; [all...] |
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
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
WidthIterator.cpp | 39 : m_font(font) 74 ASSERT(m_font); 78 return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, character, mirror, currentCharacter, advanceLength); 84 return m_font->glyphDataForCharacter(character, mirror); 147 bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run.spacingDisabled(); 156 const SimpleFontData* primaryFont = m_font->primaryFont(); 174 width = m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar + widthSinceLastRounding); 197 if (!m_font->isSmallCaps() || character == toUpper(character)) 200 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(character), rtl) [all...] |
FontPlatformData.cpp | 45 , m_font(hashTableDeletedFontValue()) 62 , m_font(0) 79 , m_font(0) 96 , m_font(0)
|
FontPlatformData.h | 98 NSFont* font() const { return m_font; } 132 ASSERT(m_font || !m_cgFont); 133 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) }; 158 return m_font == hashTableDeletedFontValue(); 190 NSFont* m_font; member in class:WebCore::FontPlatformData
|
WidthIterator.h | 68 const Font* m_font; member in struct:WebCore::WidthIterator
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/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()->getFontResourceData(m_font.fontDescription(), fontName.get(), false, FontCache::DoNotRetain).get() [all...] |
ComplexTextController.cpp | 51 : m_font(font) 53 , m_controller(adoptPtr(new ComplexTextController(&m_font, m_run, true))) 61 if (m_font.wordSpacing() && from && Font::treatAsSpace(m_run[from])) 62 beforeWidth += m_font.wordSpacing(); 80 Font m_font; member in class:WebCore::TextLayout 117 : m_font(*font) 308 if (m_font.isSmallCaps()) 329 bool nextIsSmallCaps = m_font.isSmallCaps() && !(U_GET_GC_MASK(baseCharacter) & U_GC_M_MASK) && (uppercaseCharacter = u_toupper(baseCharacter)) != baseCharacter; 338 nextFontData = m_font.fontDataForCombiningCharacterSequence(sequenceStart, curr - sequenceStart, nextIsSmallCaps ? SmallCapsVariant : NormalVariant); 351 if (m_font.isSmallCaps()) [all...] |
ComplexTextController.h | 141 const Font& m_font; member in class:WebCore::ComplexTextController
|
/external/chromium_org/third_party/WebKit/Source/core/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/core/platform/graphics/harfbuzz/ |
HarfBuzzShaper.cpp | 187 : m_font(font) 342 const FontDescription& description = m_font->fontDescription(); 399 const SimpleFontData* nextFontData = m_font->glyphDataForCharacter(character, false).fontData; 431 nextFontData = m_font->glyphDataForCharacter(character, false).fontData; 433 nextFontData = m_font->glyphDataForCharacter(character, false).fontData; 479 if (m_font->isSmallCaps() && u_islower(m_normalizedBuffer[currentRun->startIndex()])) { 482 currentFontData = m_font->glyphDataForCharacter(upperText[0], false, SmallCapsVariant).fontData; 493 if (m_font->fontDescription().orientation() == Vertical)
|
HarfBuzzShaper.h | 131 const Font* m_font; member in class:WebCore::HarfBuzzShaper
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 186 , m_font(other.m_font) 190 m_font.fontSelector()->registerForInvalidationCallbacks(this); 199 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); 221 m_font = other.m_font; 225 m_font.fontSelector()->registerForInvalidationCallbacks(this); 233 m_font.fontSelector()->unregisterForInvalidationCallbacks(this); 238 ASSERT_ARG(fontSelector, fontSelector == m_font.fontSelector()); 241 m_font.update(fontSelector) [all...] |
CanvasRenderingContext2D.h | 268 Font m_font; member in struct:WebCore::CanvasRenderingContext2D::State
|