/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutEngineSpacing.cpp | 35 : m_font(font) 43 if (!m_font.isSVGFont()) { 48 SVGFontElement* svgFont = m_font.svgFont(); 61 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm(); 75 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); 82 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) 85 float spacing = m_font.letterSpacing() + kerning; 86 if (currentCharacter && lastCharacter && m_font.wordSpacing()) [all...] |
SVGTextLayoutEngineSpacing.h | 42 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineSpacing
|
SVGTextLayoutEngineBaseline.cpp | 34 : m_font(font) 43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize(); 52 return -m_font.fontMetrics().floatHeight() / 2; 54 return m_font.fontMetrics().floatHeight() / 2; 125 const FontMetrics& fontMetrics = m_font.fontMetrics(); 197 const FontMetrics& fontMetrics = m_font.fontMetrics();
|
SVGTextLayoutEngineBaseline.h | 49 const Font& m_font; member in class:WebCore::SVGTextLayoutEngineBaseline
|
/external/webkit/Source/WebKit/chromium/src/ |
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:WebKit::WebFontImpl
|
/external/webkit/Source/WebCore/platform/graphics/cocoa/ |
FontPlatformDataCocoa.mm | 56 , m_font(nsFont) 68 loadFont(nsFont, size, m_font, cgFont); 70 if (m_font) 71 CFRetain(m_font); 82 if (m_font && m_font != reinterpret_cast<NSFont *>(-1)) 83 CFRelease(m_font); 88 m_font = f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1) ? const_cast<NSFont *>(static_cast<const NSFont *>(CFRetain(f.m_ (…) [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
FontPlatformData.h | 40 : m_font(hashTableDeletedFontValue()) 44 : m_font(0) 53 BFont* font() const { return m_font; } 69 BFont* m_font; member in class:WebCore::FontPlatformData
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontPlatformDataChromiumWin.h | 66 bool isHashTableDeletedValue() const { return m_font == hashTableDeletedFontValue(); } 70 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } 78 return m_font ? m_font->hash() : NULL; 83 return m_font == other.m_font && m_size == other.m_size; 129 RefPtr<RefCountedHFONT> m_font; member in class:WebCore::FontPlatformData
|
FontPlatformDataChromiumWin.cpp | 45 : m_font(hashTableDeletedFontValue()) 53 : m_font(0) 61 : m_font(RefCountedHFONT::create(font)) 70 : m_font(0) 78 : m_font(data.m_font) 88 m_font = data.m_font;
|
UniscribeHelperTextRun.cpp | 48 , m_font(&font) 74 , m_font(0) 100 if (m_fontIndex == -1 || !m_font) 110 const FontData *fontData = m_font->fontDataAt(m_fontIndex);
|
UniscribeHelperTextRun.h | 78 const Font* m_font; member in class:WebCore::UniscribeHelperTextRun
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontPlatformData.h | 66 : m_font(0) 70 : m_font(font) 73 wxFont* font() { return m_font; } 76 wxFont* m_font; member in class:WebCore::FontHolder 85 , m_font(0) 98 , m_font(0) 108 , m_font(0) 117 return m_font->font(); 137 if (m_font && m_fontState == VALID && other.m_fontState == VALID && other.m_font) { 178 WTF::RefPtr<FontHolder> m_font; member in class:WebCore::FontPlatformData [all...] |
FontPlatformDataWx.cpp | 84 m_font = adoptRef(new FontHolder(new wxFont( wxSize(0, -desc.computedPixelSize()), 93 m_font = adoptRef(new FontHolder(new wxFont( desc.computedPixelSize(), 105 m_atsuFontID = m_font->font()->OSXGetATSUFontID(); 107 m_atsuFontID = m_font->font()->MacGetATSUFontID(); 120 wxFont* thisFont = m_font->font(); 140 m_font = 0; 158 return static_cast<HFONT>(m_font->font()->GetHFONT()); 167 cgFont = CTFontCopyGraphicsFont((CTFontRef)m_font->font()->OSXGetCTFont(), 0);
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
FontPlatformDataPango.cpp | 50 , m_font(0) 95 for (unsigned int i = 0; !m_font && i < G_N_ELEMENTS(families); i++) { 98 m_font = pango_font_map_load_font(m_fontMap, m_context, description); 102 if (m_font) 103 m_scaledFont = cairo_scaled_font_reference(pango_cairo_font_get_scaled_font(PANGO_CAIRO_FONT(m_font))); 106 if (m_font) { 107 PangoFcFont* fcfont = PANGO_FC_FONT(m_font); 131 , m_font(0) 141 , m_font(0) 192 if (m_font && m_font != reinterpret_cast<PangoFont*>(-1)) [all...] |
FontPlatformData.h | 41 , m_font(hashTableDeletedFontValue()) 50 , m_font(0) 85 return m_font == hashTableDeletedFontValue(); 95 PangoFont* m_font; member in class:WebCore::FontPlatformData
|
GlyphPageTreeNodePango.cpp | 81 if (!fontData->platformData().m_font || fontData->platformData().m_font == reinterpret_cast<PangoFont*>(-1)) 86 Glyph glyph = pango_font_get_glyph(fontData->platformData().m_font, fontData->platformData().m_context, buffer[i]);
|
/external/webkit/Source/WebCore/css/ |
CSSFontFaceSource.cpp | 51 , m_font(font) 57 if (m_font) 58 m_font->addClient(this); 63 if (m_font) 64 m_font->removeClient(this); 81 if (m_font) 82 return m_font->isLoaded(); 88 if (m_font) 89 return !m_font->errorOccurred(); 107 if (!m_font && !m_svgFontFaceElement) [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontPlatformDataCairoWin.cpp | 60 : m_font(0) 94 m_font = source.m_font; 104 m_font = other.m_font; 117 return m_font == other.m_font
|
FontPlatformDataCGWin.cpp | 124 , m_font(RefCountedGDIHandle<HFONT>::create(hfont)) 137 m_font = source.m_font; 144 m_font = other.m_font; 153 return m_font == other.m_font
|
UniscribeController.cpp | 42 : m_font(*font) 120 if (m_font.isSmallCaps()) 128 const SimpleFontData* nextFontData = m_font.glyphDataForCharacter(*curr, false).fontData; 133 bool nextIsSmallCaps = m_font.isSmallCaps() && !(U_GET_GC_MASK(*curr) & U_GC_M_MASK) && (newC = u_toupper(*curr)) != *curr; 149 nextFontData = m_font.glyphDataForCharacter(*curr, false, forceSmallCaps ? SmallCapsVariant : AutoVariant).fontData; 150 if (m_font.isSmallCaps()) { 156 if (m_fallbackFonts && nextFontData != fontData && fontData != m_font.primaryFont()) 170 if (m_fallbackFonts && nextFontData != m_font.primaryFont()) 287 bool hasExtraSpacing = m_font.letterSpacing() || m_font.wordSpacing() || m_padding [all...] |
/external/webkit/Source/WebCore/platform/ |
PopupMenuStyle.h | 41 , m_font(font) 52 const Font& font() const { return m_font; } 62 Font m_font; member in class:WebCore::PopupMenuStyle
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
QtFallbackWebPopup.h | 55 void setFont(const QFont& font) { m_font = font; } 56 QFont font() const { return m_font; } 67 QFont m_font; member in class:WebCore::QtFallbackWebPopup
|
/external/webkit/Source/WebCore/platform/graphics/ |
FontPlatformData.h | 118 , m_font(WTF::HashTableDeletedValue) 120 , m_font(hashTableDeletedFontValue()) 142 , m_font(0) 167 , m_font(0) 193 , m_font(0) 213 HFONT hfont() const { return m_font ? m_font->handle() : 0; } 216 NSFont* font() const { return m_font; } 255 return m_font ? m_font->hash() : 0 328 NSFont* m_font; member in class:WebCore::FontPlatformData 330 RefPtr<RefCountedGDIHandle<HFONT> > m_font; member in class:WebCore::FontPlatformData [all...] |
WidthIterator.cpp | 45 : m_font(font) 86 bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run.spacingDisabled(); 90 const SimpleFontData* primaryFont = m_font->primaryFont(); 123 const GlyphData& glyphData = m_font->glyphDataForCharacter(c, rtl); 132 float tabWidth = m_font->tabWidth(*fontData); 148 if (!m_font->isSmallCaps() || c == toUpper(c)) 151 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(c), rtl); 160 if (width && m_font->letterSpacing()) 161 width += m_font->letterSpacing() [all...] |