Home
last modified time | relevance | path

Searched refs:primaryFont (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DUniscribeHelperTextRun.cpp44 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun()
45 font.primaryFont()->platformData().scriptCache(), in UniscribeHelperTextRun()
46 font.primaryFont()->platformData().scriptFontProperties(), in UniscribeHelperTextRun()
47 font.primaryFont()->spaceGlyph()) in UniscribeHelperTextRun()
DFontWin.cpp191 …state.draw(graphicsContext, primaryFont()->platformData(), hdc, lroundf(point.x()), lroundf(point.… in drawComplexText()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextRunRenderingContext.cpp174 const SimpleFontData* primaryFont = font.primaryFont(); in glyphDataForCharacter() local
175 ASSERT(primaryFont); in glyphDataForCharacter()
181 GlyphData missingGlyphData = primaryFont->missingGlyphData(); in glyphDataForCharacter()
202 glyphData.fontData = primaryFont; in glyphDataForCharacter()
DSVGTextRunRenderingContext.h72 ASSERT(font.primaryFont()); in textRunNeedsRenderingContext()
73 return font.primaryFont()->isSVGFont(); in textRunNeedsRenderingContext()
DSVGTextLayoutEngineSpacing.cpp45 const SimpleFontData* fontData = m_font.primaryFont(); in calculateSVGKerning()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.h135 const FontMetrics& fontMetrics() const { return primaryFont()->fontMetrics(); } in fontMetrics()
136 float spaceWidth() const { return primaryFont()->spaceWidth() + m_letterSpacing; } in spaceWidth()
138 …float tabWidth(unsigned tabSize, float position) const { return tabWidth(*primaryFont(), tabSize, … in tabWidth()
144 const SimpleFontData* primaryFont() const;
301 inline const SimpleFontData* Font::primaryFont() const in primaryFont() function
DWidthIterator.cpp152 const SimpleFontData* primaryFont = m_font->primaryFont(); in advanceInternal() local
153 const SimpleFontData* lastFontData = primaryFont; in advanceInternal()
190 if (m_fallbackFonts && fontData != primaryFont) { in advanceInternal()
197 if (uppercaseGlyphData.fontData != primaryFont) in advanceInternal()
DFontFastPath.cpp169 if (m_fontDescription.smallCaps() && !primaryFont()->isSVGFont()) { in glyphDataAndPageForCharacter()
304 GlyphData data = primaryFont()->missingGlyphData(); in glyphDataAndPageForCharacter()
316 GlyphPageTreeNode* node = GlyphPageTreeNode::getRootChild(primaryFont(), pageNumber); in primaryFontHasGlyphForCharacter()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextControllerCoreText.mm188 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, …
275 …m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation + runRang…
286 if (m_fallbackFonts && runFontData != m_font.primaryFont())
290 if (m_fallbackFonts && runFontData != m_font.primaryFont())
DComplexTextController.cpp511 if (fallbackFonts && complexTextRun.fontData() != m_font.primaryFont()) in advance()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControl.cpp223 return roundf(style()->font().primaryFont()->avgCharWidth()); in getAvgCharWidth()
DRenderTextControlSingleLine.cpp327 maxCharWidth = roundf(style()->font().primaryFont()->maxCharWidth()); in preferredContentLogicalWidth()
DInlineFlowBox.cpp442 || renderer()->style(isFirstLineStyle())->font().primaryFont()->hasVerticalGlyphs()) in requiresIdeographicBaseline()
453 … if (curr->renderer()->style(isFirstLineStyle())->font().primaryFont()->hasVerticalGlyphs()) in requiresIdeographicBaseline()
DRootInlineBox.cpp765 usedFonts->append(box->renderer()->style(isFirstLineStyle())->font().primaryFont()); in ascentAndDescentForBox()
DRenderBlock.cpp2965 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalLeftOffsetForLine()
3003 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalRightOffsetForLine()
/external/chromium_org/third_party/WebKit/Source/web/mac/
DWebSubstringUtil.mm87 NSFont* font = style->font().primaryFont()->getNSFont();