• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/graphics/

Lines Matching defs:character

71 GlyphData WidthIterator::glyphDataForCharacter(UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength)
77 return renderingContext->glyphDataForCharacter(*m_font, *this, character, mirror, currentCharacter, advanceLength);
83 return m_font->glyphDataForCharacter(character, mirror);
172 UChar32 character = 0;
175 while (textIterator.consume(character, clusterLength)) {
178 const GlyphData& glyphData = glyphDataForCharacter(character, rtl, currentCharacter, advanceLength);
186 if (character == '\t' && m_run.allowTabs())
197 // match the width of the space character have the same width as the space character.
212 if (!m_font->isSmallCaps() || character == u_toupper(character))
215 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(u_toupper(character), rtl);
228 bool treatAsSpace = Font::treatAsSpace(character);
229 if (treatAsSpace || (expandAroundIdeographs && Font::isCJKIdeographOrSymbol(character))) {
259 // We apply additional space between "words" by adding width to the space character.
260 if (treatAsSpace && (character != '\t' || !m_run.allowTabs()) && (currentCharacter || character == noBreakSpace) && m_font->wordSpacing())
266 if (shouldApplyFontTransforms() && glyphBuffer && Font::treatAsSpace(character))
268 OriginalAdvancesForCharacterTreatedAsSpace(character == ' ', glyphBuffer->size() ? glyphBuffer->advanceAt(glyphBuffer->size() - 1).width() : 0, width)));
276 if (m_forTextEmphasis && !Font::canReceiveTextEmphasis(character))
279 // Advance past the character we just dealt with.
286 if (m_run.applyWordRounding() && Font::isRoundingHackCharacter(character)) {
293 // Since this is a rounding hack character, we should have reset this sum on the previous
297 // Check to see if the next character is a "rounding hack character", if so, adjust