Home
last modified time | relevance | path

Searched refs:m_font (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/gtk/
DFontPlatformDataPango.cpp51 , m_font(0) in FontPlatformData()
96 for (unsigned int i = 0; !m_font && i < G_N_ELEMENTS(families); i++) { in FontPlatformData()
99 m_font = pango_font_map_load_font(m_fontMap, m_context, description); in FontPlatformData()
103 if (m_font) in FontPlatformData()
104 …aledFont = cairo_scaled_font_reference(pango_cairo_font_get_scaled_font(PANGO_CAIRO_FONT(m_font))); in FontPlatformData()
107 if (m_font) { in FontPlatformData()
108 PangoFcFont* fcfont = PANGO_FC_FONT(m_font); in FontPlatformData()
132 , m_font(0) in FontPlatformData()
142 , m_font(0) in FontPlatformData()
193 if (m_font && m_font != reinterpret_cast<PangoFont*>(-1)) { in ~FontPlatformData()
[all …]
DFontPlatformData.h55 , m_font(hashTableDeletedFontValue()) in FontPlatformData()
68 , m_font(0) in FontPlatformData()
108 return m_font == hashTableDeletedFontValue(); in isHashTableDeletedValue()
124 PangoFont* m_font; variable
DGlyphPageTreeNodePango.cpp81 …if (!fontData->platformData().m_font || fontData->platformData().m_font == reinterpret_cast<PangoF… in fill()
86 …Glyph glyph = pango_font_get_glyph(fontData->platformData().m_font, fontData->platformData().m_con… in fill()
/external/webkit/WebCore/platform/graphics/mac/
DFontPlatformDataMac.mm35 , m_font(nsFont)
51m_font = f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1) ? static_cast<const NSFont *>(CFRe…
61 if (m_font && m_font != reinterpret_cast<NSFont *>(-1))
62 CFRelease(m_font);
72 if (m_font == f.m_font)
74 if (f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1))
75 CFRetain(f.m_font);
76 if (m_font && m_font != reinterpret_cast<NSFont *>(-1))
77 CFRelease(m_font);
78 m_font = f.m_font;
[all …]
DFontPlatformData.h60 , m_font(0) in FontPlatformData()
74 , m_font(0) in FontPlatformData()
83 FontPlatformData(WTF::HashTableDeletedValueType) : m_font(hashTableDeletedFontValue()) { } in FontPlatformData()
84 bool isHashTableDeletedValue() const { return m_font == hashTableDeletedFontValue(); } in isHashTableDeletedValue()
98 ASSERT(m_font != 0 || m_cgFont == 0); in hash()
99 uintptr_t hashCodes[2] = { (uintptr_t)m_font, m_syntheticBold << 1 | m_syntheticOblique }; in hash()
107 …return m_font == other.m_font && m_syntheticBold == other.m_syntheticBold && m_syntheticOblique ==…
111 NSFont *font() const { return m_font; } in font()
130 NSFont *m_font; member
DComplexTextController.cpp58 : m_font(*font) in ComplexTextController()
183 if (m_font.isSmallCaps() || hasTrailingSoftHyphen) in collectComplexTextRuns()
195 …collectComplexTextRunsForCharacters(&hyphen, 1, m_end - 1, m_font.glyphDataForCharacter(hyphen, fa… in collectComplexTextRuns()
208 … nextGlyphData = m_font.glyphDataForCharacter(U16_GET_SUPPLEMENTARY(curr[0], curr[1]), false); in collectComplexTextRuns()
212 … nextGlyphData = m_font.glyphDataForCharacter(U16_GET_SUPPLEMENTARY(curr[-1], curr[0]), false); in collectComplexTextRuns()
215 nextGlyphData = m_font.glyphDataForCharacter(*curr, false); in collectComplexTextRuns()
220 …bool nextIsSmallCaps = !isSurrogate && m_font.isSmallCaps() && !(U_GET_GC_MASK(*curr) & U_GC_M_MAS… in collectComplexTextRuns()
240 … nextGlyphData = m_font.glyphDataForCharacter(U16_GET_SUPPLEMENTARY(curr[0], curr[1]), false); in collectComplexTextRuns()
244 … nextGlyphData = m_font.glyphDataForCharacter(U16_GET_SUPPLEMENTARY(curr[-1], curr[0]), false); in collectComplexTextRuns()
247 nextGlyphData = m_font.glyphDataForCharacter(*curr, false, forceSmallCaps); in collectComplexTextRuns()
[all …]
DComplexTextControllerCoreText.cpp112 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, … in collectComplexTextRunsForCharactersCoreText()
116 if (m_fallbackFonts && fontData != m_font.primaryFont()) in collectComplexTextRunsForCharactersCoreText()
121 …tributedStringCreate(NULL, string.get(), fontData->getCFStringAttributes(m_font.typesettingFeature… in collectComplexTextRunsForCharactersCoreText()
DComplexTextControllerATSUI.cpp317 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, … in collectComplexTextRunsForCharactersATSUI()
321 if (m_fallbackFonts && fontData != m_font.primaryFont()) in collectComplexTextRunsForCharactersATSUI()
324 ATSUStyle atsuStyle = initializeATSUStyle(fontData, m_font.typesettingFeatures()); in collectComplexTextRunsForCharactersATSUI()
/external/webkit/WebCore/css/
DCSSFontFaceSource.cpp50 , m_font(font) in CSSFontFaceSource()
56 if (m_font) in CSSFontFaceSource()
57 m_font->addClient(this); in CSSFontFaceSource()
62 if (m_font) in ~CSSFontFaceSource()
63 m_font->removeClient(this); in ~CSSFontFaceSource()
80 if (m_font) in isLoaded()
81 return m_font->isLoaded(); in isLoaded()
87 if (m_font) in isValid()
88 return !m_font->errorOccurred(); in isValid()
106 if (!m_font && !m_svgFontFaceElement) { in getFontData()
[all …]
/external/webkit/WebCore/platform/graphics/wx/
DFontPlatformData.h49 : m_font(0) in FontHolder()
53 : m_font(font) in FontHolder()
56 wxFont* font() { return m_font; } in font()
59 wxFont* m_font;
68 m_font(0) in FontPlatformData()
76 , m_font(0) in FontPlatformData()
82 , m_font(0) in FontPlatformData()
87 return m_font->font(); in font()
105 if (m_font && m_fontState == VALID && other.m_fontState == VALID && other.m_font) {
106 wxFont* thisFont = m_font->font();
[all …]
DFontPlatformDataWx.cpp84 m_font = new FontHolder(new wxFont( wxSize(0, -desc.computedPixelSize()), in FontPlatformData()
93 m_font = new FontHolder(new wxFont( desc.computedPixelSize(), in FontPlatformData()
107 wxFont* thisFont = m_font->font(); in computeHash()
122 m_font = 0; in ~FontPlatformData()
140 return static_cast<HFONT>(m_font->font()->GetHFONT()); in hfont()
/external/webkit/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp203 const SimpleFontData* m_font; member in WebCore::__anon199354a70111::TransparencyAwareGlyphPainter
220 , m_font(font) in TransparencyAwareGlyphPainter()
229 m_oldFont = ::SelectObject(m_hdc, m_font->platformData().hfont()); in TransparencyAwareGlyphPainter()
248 return IntRect(m_point.x() - (m_font->ascent() + m_font->descent()) / 2, in estimateTextBounds()
249 m_point.y() - m_font->ascent() - m_font->lineGap(), in estimateTextBounds()
250 totalWidth + m_font->ascent() + m_font->descent(), in estimateTextBounds()
251 m_font->lineSpacing()); in estimateTextBounds()
262 return paintSkiaText(m_graphicsContext, m_font->platformData().hfont(), in drawGlyphs()
272 int y = lroundf(m_point.y() - m_font->ascent()); in drawGlyphs()
310 const Font* m_font; member in WebCore::__anon199354a70111::TransparencyAwareUniscribePainter
[all …]
DFontPlatformDataChromiumWin.h65 bool isHashTableDeletedValue() const { return m_font == hashTableDeletedFontValue(); } in isHashTableDeletedValue()
69 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } in hfont()
74 return m_font ? m_font->hash() : NULL; in hash()
79 return m_font == other.m_font && m_size == other.m_size;
125 RefPtr<RefCountedHFONT> m_font; variable
DFontPlatformDataChromiumWin.cpp45 : m_font(hashTableDeletedFontValue()) in FontPlatformData()
53 : m_font(0) in FontPlatformData()
61 : m_font(RefCountedHFONT::create(font)) in FontPlatformData()
70 : m_font(0) in FontPlatformData()
78 : m_font(data.m_font) in FontPlatformData()
88 m_font = data.m_font; in operator =()
DUniscribeHelperTextRun.cpp46 , m_font(&font) in UniscribeHelperTextRun()
72 , m_font(0) in UniscribeHelperTextRun()
98 if (m_fontIndex == -1 || !m_font) in nextWinFontData()
108 const FontData *fontData = m_font->fontDataAt(m_fontIndex); in nextWinFontData()
DFontLinux.cpp163 : m_font(font) in TextRunWalker()
361 const FontData* fontData = m_font->fontDataAt(0); in setupFontForScriptRun()
363 … fontData = m_font->fontDataForCharacters(m_item.string + m_item.item.pos, m_item.item.length); in setupFontForScriptRun()
457 const Font* const m_font; member in WebCore::TextRunWalker
/external/webkit/WebCore/platform/graphics/
DWidthIterator.cpp43 : m_font(font) in WidthIterator()
78 …bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_padding) && !m_run.s… in advance()
83 const SimpleFontData* primaryFont = m_font->primaryFont(); in advance()
116 const GlyphData& glyphData = m_font->glyphDataForCharacter(c, rtl); in advance()
125 float tabWidth = m_font->tabWidth(); in advance()
142 if (!m_font->isSmallCaps() || c == toUpper(c)) in advance()
145 … const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(c), rtl); in advance()
154 if (width && m_font->letterSpacing()) in advance()
155 width += m_font->letterSpacing(); in advance()
173 if (currentCharacter != 0 && !Font::treatAsSpace(cp[-1]) && m_font->wordSpacing()) in advance()
[all …]
DWidthIterator.h41 const Font* m_font; member
/external/webkit/WebCore/platform/graphics/win/
DFontPlatformData.h74 FontPlatformData(WTF::HashTableDeletedValueType) : m_font(WTF::HashTableDeletedValue) { } in FontPlatformData()
75 bool isHashTableDeletedValue() const { return m_font.isHashTableDeletedValue(); } in isHashTableDeletedValue()
77 HFONT hfont() const { return m_font->hfont(); } in hfont()
93 return m_font->hash(); in hash()
98 return m_font == other.m_font &&
139 RefPtr<RefCountedHFONT> m_font; variable
DUniscribeController.cpp42 : m_font(*font) in UniscribeController()
115 if (m_font.isSmallCaps()) in advance()
123 const SimpleFontData* nextFontData = m_font.glyphDataForCharacter(*curr, false).fontData; in advance()
128 …bool nextIsSmallCaps = m_font.isSmallCaps() && !(U_GET_GC_MASK(*curr) & U_GC_M_MASK) && (newC = u_… in advance()
144 nextFontData = m_font.glyphDataForCharacter(*curr, false, forceSmallCaps).fontData; in advance()
145 if (m_font.isSmallCaps()) { in advance()
151 if (m_fallbackFonts && nextFontData != fontData && fontData != m_font.primaryFont()) in advance()
165 if (m_fallbackFonts && nextFontData != m_font.primaryFont()) in advance()
292 bool hasExtraSpacing = m_font.letterSpacing() || m_font.wordSpacing() || m_padding; in shapeAndPlaceItem()
304 if (!m_font.isPrinterFont() && !fontData->isSystemFont()) { in shapeAndPlaceItem()
[all …]
DFontPlatformDataCairoWin.cpp60 : m_font(0) in FontPlatformData()
84 : m_font(source.m_font) in FontPlatformData()
112 m_font = other.m_font; in operator =()
/external/webkit/WebCore/platform/graphics/haiku/
DFontPlatformData.h40 : m_font(hashTableDeletedFontValue()) in FontPlatformData()
44 : m_font(0) in FontPlatformData()
53 BFont* font() const { return m_font; } in font()
69 BFont* m_font; variable
DFontHaiku.cpp73 BFont* m_font = font->platformData().font(); in drawGlyphs() local
77 view->SetFont(m_font); in drawGlyphs()
/external/webkit/WebCore/platform/
DPopupMenuStyle.h41 , m_font(font) in PopupMenuStyle()
50 const Font& font() const { return m_font; } in font()
58 Font m_font; variable
/external/webkit/WebCore/platform/graphics/wince/
DFontPlatformData.cpp99 LOGFONT m_font; member in WebCore::FixedSizeFontData
113 memset(&m_font, 0, sizeof(m_font)); in FixedSizeFontData()
243 LOGFONT& winFont = fontData->m_font; in create()
395 … m_private->m_rootFontData->m_hfont.set(CreateFontIndirect(&m_private->m_rootFontData->m_font)); in create()
408 LOGFONT font = m_private->m_rootFontData->m_font; in create()
461 return m_private->m_rootFontData->m_font; in create()

12