Searched defs:fallbackFonts (Results 1 - 17 of 17) sorted by path

/external/skia/src/ports/
H A DFontHostConfiguration_android.cpp202 void getFallbackFontFamilies(SkTDArray<FontFamily*> &fallbackFonts) { argument
204 parseConfigFile(FALLBACK_FONTS_FILE, fallbackFonts);
216 *fallbackFonts.append() = family;
220 *fallbackFonts.insert(currentOrder++) = family;
225 *fallbackFonts.insert(order) = family;
236 SkTDArray<FontFamily*> fallbackFonts; local
239 getFallbackFontFamilies(fallbackFonts);
242 for (int i = 0; i < fallbackFonts.count(); ++i) {
243 *fontFamilies.append() = fallbackFonts[i];
/external/webkit/Source/WebCore/platform/graphics/
H A DFont.cpp168 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
180 return floatWidthForSimpleText(run, 0, returnFallbackFonts ? fallbackFonts : 0, codePathToUse == SimpleWithGlyphOverflow || (glyphOverflow && glyphOverflow->computeBounds) ? glyphOverflow : 0);
183 return floatWidthForComplexText(run, fallbackFonts, glyphOverflow);
H A DFontFastPath.cpp449 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
451 WidthIterator it(this, run, fallbackFonts, glyphOverflow);
H A DWidthIterator.cpp44 WidthIterator::WidthIterator(const Font* font, const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, bool accountForGlyphBounds, bool forTextEmphasis) argument
51 , m_fallbackFonts(fallbackFonts)
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DFontGtk.cpp349 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* overflow) const argument
353 return floatWidthForSimpleText(run, 0, fallbackFonts, overflow);
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DFontHaiku.cpp106 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DComplexTextController.cpp52 ComplexTextController::ComplexTextController(const Font* font, const TextRun& run, bool mayUseNaturalWritingDirection, HashSet<const SimpleFontData*>* fallbackFonts, bool forTextEmphasis) argument
68 , m_fallbackFonts(fallbackFonts)
H A DFontComplexTextMac.cpp110 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
112 ComplexTextController controller(this, run, true, fallbackFonts);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DFontQt.cpp276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCacheWin.cpp325 static AtomicString fallbackFonts[] = { local
333 for (size_t i = 0; i < WTF_ARRAY_LENGTH(fallbackFonts); ++i) {
334 if (simpleFont = getCachedFontData(fontDescription, fallbackFonts[i])) {
335 fallbackFontName = fallbackFonts[i];
H A DFontWin.cpp125 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
127 UniscribeController controller(this, run, fallbackFonts);
H A DUniscribeController.cpp41 UniscribeController::UniscribeController(const Font* font, const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) argument
44 , m_fallbackFonts(fallbackFonts)
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontWinCE.cpp243 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DFontWx.cpp168 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const argument
171 ComplexTextController controller(this, run, fallbackFonts);
/external/webkit/Source/WebCore/rendering/
H A DRenderBlockLineLayout.cpp463 HashSet<const SimpleFontData*> fallbackFonts; local
485 r->m_box->setLogicalWidth(rt->width(r->m_start, r->m_stop - r->m_start, totalLogicalWidth, firstLine, &fallbackFonts, &glyphOverflow) + hyphenWidth);
486 if (!fallbackFonts.isEmpty()) {
490 copyToVector(fallbackFonts, it->second.first);
H A DRenderCombineText.cpp56 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
64 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow);
H A DRenderText.cpp613 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
651 return f.width(TextRun(text()->characters() + start, len, allowTabs(), xPos), fallbackFonts, glyphOverflow);
766 HashSet<const SimpleFontData*> fallbackFonts; local
768 computePreferredLogicalWidths(leadWidth, fallbackFonts, glyphOverflow);
769 if (fallbackFonts.isEmpty() && !glyphOverflow.left && !glyphOverflow.right && !glyphOverflow.top && !glyphOverflow.bottom)
773 void RenderText::computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow& glyphOverflow) argument
850 currMaxWidth += widthFromCache(f, lastWordBoundary, i - lastWordBoundary, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow);
875 float w = widthFromCache(f, i, wordLen, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow);
883 currMaxWidth += widthFromCache(f, lastWordBoundary, j - lastWordBoundary, leadWidth + currMaxWidth, &fallbackFonts, &glyphOverflow);
1299 float RenderText::width(unsigned from, unsigned len, float xPos, bool firstLine, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflo argument
1310 width(unsigned from, unsigned len, const Font& f, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
[all...]

Completed in 1853 milliseconds