• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/rendering/

Lines Matching defs:font

193     m_needsTranscoding = fontTranscoder().needsTranscoding(style()->font().fontDescription(), encoding);
212 } else if (oldStyle->font().needsTranscoding() != newStyle->font().needsTranscoding() || (newStyle->font().needsTranscoding() && oldStyle->font().firstFamily() != newStyle->font().firstFamily())) {
814 const Font& font = style()->font(); // FIXME: This ignores first-line.
817 float spaceWidth = font.width(RenderBlock::constructTextRun(this, font, &space, 1, style()));
820 maxW += font.wordSpacing();
830 const Font& f = style()->font(); // FIXME: This ignores first-line.
891 static inline float hyphenWidth(RenderText* renderer, const Font& font)
894 return font.width(RenderBlock::constructTextRun(renderer, font, style->hyphenString().string(), style));
897 static float maxWordFragmentWidth(RenderText* renderer, RenderStyle* style, const Font& font, const UChar* word, int wordLength, int minimumPrefixLength, int minimumSuffixLength, int& suffixStart, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow& glyphOverflow)
913 float minimumFragmentWidthToConsider = font.pixelSize() * 5 / 4 + hyphenWidth(renderer, font);
921 TextRun run = RenderBlock::constructTextRun(renderer, font, fragmentWithHyphen.characters(), fragmentWithHyphen.length(), style);
924 float fragmentWidth = font.width(run, &fallbackFonts, &glyphOverflow);
958 const Font& f = styleToUse->font(); // FIXME: This ignores first-line.
1404 fontTranscoder().convert(m_text, style()->font().fontDescription(), encoding);
1545 return width(from, len, style(firstLine)->font(), xPos, fallbackFonts, glyphOverflow);
1555 if (&f == &style()->font()) {