/external/webkit/Source/WebCore/platform/graphics/ |
WidthIterator.cpp | 46 , m_run(run) 61 m_expansion = m_run.expansion(); 66 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); 67 if (isAfterExpansion && !m_run.allowsTrailingExpansion()) 83 const UChar* cp = m_run.data(currentCharacter); 85 bool rtl = m_run.rtl(); 86 bool hasExtraSpacing = (m_font->letterSpacing() || m_font->wordSpacing() || m_expansion) && !m_run.spacingDisabled(); 113 if (currentCharacter + 1 >= m_run.length()) 131 if (c == '\t' && m_run.allowTabs()) [all...] |
WidthIterator.h | 48 const TextRun& m_run; member in struct:WebCore::WidthIterator
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
UniscribeController.cpp | 43 , m_run(run) 62 for (int s = 0; s < m_run.length(); s++) { 63 if (Font::treatAsSpace(m_run[s])) 83 advance(m_run.length()); 86 if (m_offsetX >= m_runWidthSoFar && m_run.ltr() || m_offsetX < 0 && m_run.rtl()) 105 const UChar* cp = m_run.data(m_currentCharacter); 123 unsigned indexOfFontTransition = m_run.rtl() ? length - 1 : 0; 124 const UChar* curr = m_run.rtl() ? cp + length - 1 : cp; 125 const UChar* end = m_run.rtl() ? cp - 1 : cp + length [all...] |
UniscribeController.h | 64 const TextRun& m_run; member in class:WebCore::UniscribeController
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextController.cpp | 54 , m_run(run) 78 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); 79 if (isAfterExpansion && !m_run.allowsTrailingExpansion()) 97 return m_run.ltr() ? m_end : 0; 101 return m_run.ltr() ? 0 : m_end; 115 if (m_run.ltr()) 123 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance); 162 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); 165 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd) [all...] |
ComplexTextControllerCoreText.cpp | 127 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 136 if (!m_mayUseNaturalWritingDirection || m_run.directionalOverride()) { 147 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, wkCreateCTTypesetterWithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions)); 151 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, CTTypesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
|
ComplexTextControllerATSUI.cpp | 319 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 337 m_complexTextRuns.append(ComplexTextRun::create(atsuTextLayout, fontData, cp, stringLocation, length, m_run.ltr(), m_run.directionalOverride()));
|
ComplexTextController.h | 153 const TextRun& m_run; member in class:WebCore::ComplexTextController
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
ComplexTextControllerLinux.cpp | 51 , m_run(getNormalizedTextRun(run, m_normalizedRun, m_normalizedBuffer)) 58 // Do not use |run| inside this constructor. Use |m_run| instead. 65 createGlyphArrays((m_run.length() + 2) * 2); 67 m_item.log_clusters = new unsigned short[m_run.length()]; 72 m_item.item.bidiLevel = m_run.rtl(); 74 m_item.string = m_run.characters(); 75 m_item.stringLength = m_run.length(); 150 m_item.string = m_run.characters(); 152 if (!hb_utf16_script_run_next(0, &m_item.item, m_run.characters(), m_run.length(), &m_indexOfNextScriptRun) [all...] |
ComplexTextControllerLinux.h | 89 bool rtl() const { return m_run.rtl(); } 141 ssize_t m_indexOfNextScriptRun; // Indexes the script run in |m_run|. 148 const TextRun& m_run; member in class:WebCore::ComplexTextController 157 String m_smallCapsString; // substring of m_run converted to small caps.
|
FontChromiumWin.cpp | 314 const TextRun& m_run; member in class:WebCore::__anon14857::TransparencyAwareUniscribePainter 327 , m_run(run) 347 UniscribeHelperTextRun state(m_run, *m_font);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
FontAndroid.cpp | 432 bool rtl() const { return m_run.rtl(); } 503 ssize_t m_indexOfNextScriptRun; // Indexes the script run in |m_run|. 513 const TextRun& m_run; member in class:WebCore::TextRunWalker 546 , m_run(getNormalizedTextRun(run, m_normalizedRun, m_normalizedBuffer)) 547 , m_iterateBackwards(m_run.rtl()) 554 // Do not use |run| inside this constructor. Use |m_run| instead. 561 createGlyphArrays((m_run.length() + 2) * 2); 563 m_item.log_clusters = new unsigned short[m_run.length()]; 568 m_item.item.bidiLevel = m_run.rtl(); 570 m_item.string = m_run.characters() [all...] |