Lines Matching defs:character
78 return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, charData.character,
83 return m_font->glyphDataForCharacter(charData.character, m_run.rtl(), normalizeSpace);
86 float WidthIterator::characterWidth(UChar32 character, const GlyphData& glyphData) const
91 if (UNLIKELY(character == '\t' && m_run.allowTabs()))
120 bool treatAsSpace = Character::treatAsSpace(charData.character);
121 if (treatAsSpace || (expandAroundIdeographs && Character::isCJKIdeographOrSymbol(charData.character))) {
152 // We apply additional space between "words" by adding width to the space character.
153 if (treatAsSpace && (charData.character != '\t' || !m_run.allowTabs())
154 && (charData.characterOffset || charData.character == noBreakSpace)
188 while (textIterator.consume(charData.character, charData.clusterLength)) {
194 // in that case use the space character and override the width.
196 if (!glyphData.glyph && Character::treatAsZeroWidthSpaceInComplexScript(charData.character)) {
197 charData.character = space;
201 width = characterWidth(charData.character, glyphData);
219 if (m_forTextEmphasis && !Character::canReceiveTextEmphasis(charData.character))
222 // Advance past the character we just dealt with.