Home
last modified time | relevance | path

Searched refs:wordSpacing (Results 1 – 25 of 38) sorted by relevance

12

/external/webkit/Source/WebKit/chromium/src/
DWebFontImpl.cpp51 return new WebFontImpl(desc, desc.letterSpacing, desc.wordSpacing); in create()
54 WebFontImpl::WebFontImpl(const FontDescription& desc, short letterSpacing, short wordSpacing) in WebFontImpl() argument
55 : m_font(desc, letterSpacing, wordSpacing) in WebFontImpl()
62 … return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing()); in fontDescription()
DWebFontImpl.h43 WebFontImpl(const WebCore::FontDescription&, short letterSpacing, short wordSpacing);
DWebFontDescription.cpp51 wordSpacing = fontWordSpacing; in WebFontDescription()
DAutoFillPopupMenuClient.cpp300 … Font warningFont(warningFontDescription, regularFont.letterSpacing(), regularFont.wordSpacing()); in initialize()
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutEngineSpacing.cpp82 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) in calculateCSSKerningAndSpacing()
86 if (currentCharacter && lastCharacter && m_font.wordSpacing()) { in calculateCSSKerningAndSpacing()
88 spacing += m_font.wordSpacing(); in calculateCSSKerningAndSpacing()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DUniscribeHelper.h137 int wordSpacing() const in wordSpacing() function
141 void setWordSpacing(int wordSpacing) in setWordSpacing() argument
143 m_wordSpacing = wordSpacing; in setWordSpacing()
DFontLinux.cpp210 controller.setWordSpacingAdjustment(wordSpacing()); in drawComplexText()
247 controller.setWordSpacingAdjustment(wordSpacing()); in floatWidthForComplexText()
281 controller.setWordSpacingAdjustment(wordSpacing()); in offsetForPositionForComplexText()
332 controller.setWordSpacingAdjustment(wordSpacing()); in selectionRectForComplexText()
DUniscribeHelperTextRun.cpp54 setWordSpacing(font.wordSpacing()); in UniscribeHelperTextRun()
/external/webkit/Source/WebKit/chromium/public/
DWebFontDescription.h82 , wordSpacing(0) in WebFontDescription()
95 short wordSpacing; member
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontPlatformDataQt.cpp63 …onst FontDescription& description, const AtomicString& familyName, int wordSpacing, int letterSpac… in FontPlatformData() argument
72 font.setWordSpacing(wordSpacing); in FontPlatformData()
DFontPlatformData.h73 …FontPlatformData(const FontDescription&, const AtomicString& familyName, int wordSpacing = 0, int …
/external/webkit/Source/WebCore/platform/graphics/
DWidthIterator.cpp86 …bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run… in advance()
190 … if (treatAsSpace && currentCharacter && !Font::treatAsSpace(cp[-1]) && m_font->wordSpacing()) in advance()
191 width += m_font->wordSpacing(); in advance()
DFont.cpp56 Font::Font(const FontDescription& fd, short letterSpacing, short wordSpacing) in Font() argument
59 , m_wordSpacing(wordSpacing) in Font()
279 if (run.expansion() || run.rtl() || isSmallCaps() || wordSpacing() || letterSpacing()) in codePath()
DFont.h79 Font(const FontDescription&, short letterSpacing, short wordSpacing);
108 short wordSpacing() const { return m_wordSpacing; } in wordSpacing() function
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontWinCE.cpp113 int wordSpacing = font.wordSpacing(); in generateComponents() local
156 offset += wordSpacing + add + components->last().m_width + letterSpacing; in generateComponents()
194 offset += wordSpacing; in generateComponents()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebPopupMenuWin.cpp65 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in setUpPlatformData()
128 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in setUpPlatformData()
/external/webkit/Source/WebCore/platform/graphics/win/
DUniscribeController.cpp287 bool hasExtraSpacing = m_font.letterSpacing() || m_font.wordSpacing() || m_padding; in shapeAndPlaceItem()
331 …characterIndex > 0 && !Font::treatAsSpace(*m_run.data(characterIndex - 1)) && m_font.wordSpacing()) in shapeAndPlaceItem()
332 advance += m_font.wordSpacing(); in shapeAndPlaceItem()
/external/webkit/Source/WebCore/rendering/
DRenderText.cpp645 w += f.wordSpacing(); in widthFromCache()
702 maxW += f.wordSpacing(); in trimmedPrefWidths()
794 float wordSpacing = style()->wordSpacing(); in computePreferredLogicalWidths() local
894 … if (wordSpacing && (isSpace || isCollapsibleWhiteSpace) && !containsOnlyWhitespace(j, len-j)) in computePreferredLogicalWidths()
895 currMaxWidth += wordSpacing; in computePreferredLogicalWidths()
948 currMaxWidth += wordSpacing; in computePreferredLogicalWidths()
DRenderCombineText.cpp112 …compressedFont = Font(description, style()->font().letterSpacing(), style()->font().wordSpacing()); in combineText()
DRenderBlockLineLayout.cpp460 totalLogicalWidth += rt->style(firstLine)->font().wordSpacing(); in computeInlineDirectionPositionsForLine()
2021 float wordSpacing = o->style()->wordSpacing(); in findNextLineBreak() local
2026 …lingSpaceWidth = f.typesettingFeatures() & Kerning ? f.width(TextRun(&space, 1)) + wordSpacing : 0; in findNextLineBreak()
2106 … applyWordSpacing = wordSpacing && currentCharacterIsSpace && !previousCharacterIsSpace; in findNextLineBreak()
2116 … f, width.currentWidth(), isFixedPitch, collapseWhiteSpace) + (applyWordSpacing ? wordSpacing : 0); in findNextLineBreak()
2186 lastSpaceWordSpacing = applyWordSpacing ? wordSpacing : 0; in findNextLineBreak()
2207 lastSpaceWordSpacing = applyWordSpacing ? wordSpacing : 0; in findNextLineBreak()
DRenderListBox.cpp115 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in updateFromElement()
400 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paintItemForeground()
/external/webkit/Source/WebCore/platform/graphics/mac/
DComplexTextController.cpp418 …bool hasExtraSpacing = (m_font.letterSpacing() || m_font.wordSpacing() || m_expansion) && !m_run.s… in adjustGlyphsAndAdvances()
499 …characterIndex > 0 && !Font::treatAsSpace(*m_run.data(characterIndex - 1)) && m_font.wordSpacing()) in adjustGlyphsAndAdvances()
500 advance.width += m_font.wordSpacing(); in adjustGlyphsAndAdvances()
/external/webkit/Source/WebCore/bindings/objc/
DDOMCSS.h294 - (NSString *)wordSpacing;
295 - (void)setWordSpacing:(NSString *)wordSpacing;
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp1024 walker.setWordAndLetterSpacing(wordSpacing(), letterSpacing()); in selectionRectForComplexText()
1109 walker.setWordAndLetterSpacing(wordSpacing(), letterSpacing()); in drawComplexText()
1134 walker.setWordAndLetterSpacing(wordSpacing(), letterSpacing()); in floatWidthForComplexText()
1166 walker.setWordAndLetterSpacing(wordSpacing(), letterSpacing()); in offsetForPositionForComplexText()
/external/webkit/Source/WebCore/platform/win/
DPopupMenuWin.cpp325 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in calculatePositionAndSize()
642 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paint()

12