Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/web/
DWebFontImpl.cpp51 return new WebFontImpl(desc, desc.letterSpacing, desc.wordSpacing); in create()
54 WebFontImpl::WebFontImpl(const FontDescription& desc, float letterSpacing, float 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&, float letterSpacing, float wordSpacing);
DWebFontDescription.cpp51 wordSpacing = fontWordSpacing; in WebFontDescription()
DAutofillPopupMenuClient.cpp296 … Font warningFont(warningFontDescription, regularFont.letterSpacing(), regularFont.wordSpacing()); in initialize()
DPopupListBox.cpp523 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paintRow()
546 Font font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in getRowFont()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextLayoutEngineSpacing.cpp96 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) in calculateCSSKerningAndSpacing()
100 if (currentCharacter && lastCharacter && m_font.wordSpacing()) { in calculateCSSKerningAndSpacing()
102 spacing += m_font.wordSpacing(); in calculateCSSKerningAndSpacing()
/external/chromium_org/third_party/WebKit/public/web/
DWebFontDescription.h82 , wordSpacing(0) in WebFontDescription()
95 short wordSpacing; member
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DUniscribeHelper.h141 int wordSpacing() const in wordSpacing() function
145 void setWordSpacing(int wordSpacing) in setWordSpacing() argument
147 m_wordSpacing = wordSpacing; in setWordSpacing()
DUniscribeHelperTextRun.cpp61 setWordSpacing(font.wordSpacing()); in UniscribeHelperTextRun()
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
DBreakingContextInlineHeaders.h745 float wordSpacing = m_currentStyle->wordSpacing(); in handleText() local
783 …ont.width(RenderBlockFlow::constructTextRun(renderText, font, &space, 1, style)) + wordSpacing : 0; in handleText()
855 applyWordSpacing = wordSpacing && m_currentCharacterIsSpace; in handleText()
865 …apseWhiteSpace, &wordMeasurement.fallbackFonts, textLayout) + (applyWordSpacing ? wordSpacing : 0); in handleText()
935 lastSpaceWordSpacing = applyWordSpacing ? wordSpacing : 0; in handleText()
936 … wordSpacingForWordMeasurement = (applyWordSpacing && wordMeasurement.width) ? wordSpacing : 0; in handleText()
958 lastSpaceWordSpacing = applyWordSpacing ? wordSpacing : 0; in handleText()
959 …dSpacingForWordMeasurement = (applyWordSpacing && wordMeasurements.last().width) ? wordSpacing : 0; in handleText()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DWidthIterator.cpp143 …bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run… in advanceInternal()
241 …Tabs()) && (textIterator.currentCharacter() || character == noBreakSpace) && m_font->wordSpacing()) in advanceInternal()
242 width += m_font->wordSpacing(); in advanceInternal()
DFont.cpp97 Font::Font(const FontDescription& fd, float letterSpacing, float wordSpacing) in Font() argument
100 , m_wordSpacing(wordSpacing) in Font()
218 bool hasWordSpacingOrLetterSpacing = wordSpacing() || letterSpacing(); in width()
DFont.h82 Font(const FontDescription&, float letterSpacing, float wordSpacing);
116 float wordSpacing() const { return m_wordSpacing; } in wordSpacing() function
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.cpp58 if (m_font.wordSpacing() && from && Font::treatAsSpace(m_run[from])) in width()
59 beforeWidth += m_font.wordSpacing(); in width()
573 …bool hasExtraSpacing = (m_font.letterSpacing() || m_font.wordSpacing() || m_expansion) && !m_run.s… in adjustGlyphsAndAdvances()
669 …ace && (ch != '\t' || !m_run.allowTabs()) && (characterIndex > 0 || r > 0) && m_font.wordSpacing()) in adjustGlyphsAndAdvances()
670 advance.width += m_font.wordSpacing(); in adjustGlyphsAndAdvances()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderCombineText.cpp117 …compressedFont = Font(description, style()->font().letterSpacing(), style()->font().wordSpacing()); in combineText()
DRenderText.cpp758 w += f.wordSpacing(); in widthFromCache()
821 maxWidth += font.wordSpacing(); in trimmedPrefWidths()
918 float wordSpacing = styleToUse->wordSpacing(); in computePreferredLogicalWidths() local
931 …ing ? f.width(RenderBlockFlow::constructTextRun(this, f, &space, 1, styleToUse)) + wordSpacing : 0; in computePreferredLogicalWidths()
1036 … if (wordSpacing && (isSpace || isCollapsibleWhiteSpace) && !containsOnlyWhitespace(j, len-j)) in computePreferredLogicalWidths()
1037 currMaxWidth += wordSpacing; in computePreferredLogicalWidths()
1096 currMaxWidth += wordSpacing; in computePreferredLogicalWidths()
DRenderListBox.cpp130 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in updateFromElement()
435 itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); in paintItemForeground()
DRenderBlockLineLayout.cpp500 measuredWidth += renderer->style()->wordSpacing(); in setLogicalWidthForTextRun()
724 totalLogicalWidth += rt->style(lineInfo.isFirstLine())->font().wordSpacing(); in computeInlineDirectionPositionsForSegment()
DInlineFlowBox.cpp385 logicalLeft += rt->style(isFirstLineStyle())->font().wordSpacing(); in placeBoxRangeInInlineDirection()
/external/chromium_org/content/child/
Dbrowser_font_resource_trusted.cc220 result.wordSpacing = static_cast<short>(font.word_spacing); in PPFontDescToWebFontDesc()
285 description->word_spacing = static_cast<int32_t>(web_desc.wordSpacing); in Describe()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimatableValueFactory.cpp468 return createFromDouble(style.wordSpacing()); in create()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp1191 float RenderStyle::wordSpacing() const { return inherited->font.wordSpacing(); } in wordSpacing() function in WebCore::RenderStyle
1197 …inherited.access()->font = Font(v, inherited->font.letterSpacing(), inherited->font.wordSpacing()); in setFontDescription()
DRenderStyle.h564 float wordSpacing() const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.cpp355 , m_wordSpacingAdjustment(font->wordSpacing()) in HarfBuzzShaper()
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
DCSSPropertyAnimation.cpp1006 …ppend(new PropertyWrapper<float>(CSSPropertyWordSpacing, &RenderStyle::wordSpacing, &RenderStyle::… in ensurePropertyMap()

12