HomeSort by relevance Sort by last modified time
    Searched full:fallbackfonts (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/third_party/skia/src/ports/
SkFontConfigParser_android.cpp 231 static void getFallbackFontFamilies(SkTDArray<FontFamily*> &fallbackFonts) {
233 parseConfigFile(FALLBACK_FONTS_FILE, fallbackFonts);
245 *fallbackFonts.append() = family;
249 *fallbackFonts.insert(currentOrder++) = family;
254 *fallbackFonts.insert(order) = family;
269 SkTDArray<FontFamily*> fallbackFonts;
270 getFallbackFontFamilies(fallbackFonts);
271 for (int i = 0; i < fallbackFonts.count(); ++i) {
272 fallbackFonts[i]->fIsFallbackFont = true;
273 *fontFamilies.append() = fallbackFonts[i]
    [all...]
  /external/skia/src/ports/
SkFontConfigParser_android.cpp 231 static void getFallbackFontFamilies(SkTDArray<FontFamily*> &fallbackFonts) {
233 parseConfigFile(FALLBACK_FONTS_FILE, fallbackFonts);
245 *fallbackFonts.append() = family;
249 *fallbackFonts.insert(currentOrder++) = family;
254 *fallbackFonts.insert(order) = family;
269 SkTDArray<FontFamily*> fallbackFonts;
270 getFallbackFontFamilies(fallbackFonts);
271 for (int i = 0; i < fallbackFonts.count(); ++i) {
272 fallbackFonts[i]->fIsFallbackFont = true;
273 *fontFamilies.append() = fallbackFonts[i]
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBR.h 43 virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const { return 0; }
44 virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const { return 0; }
RenderCombineText.cpp 58 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
66 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow);
RenderCombineText.h 42 virtual float width(unsigned from, unsigned length, const Font&, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
RenderText.h 85 virtual float width(unsigned from, unsigned len, const Font&, float xPos, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
86 virtual float width(unsigned from, unsigned len, float xPos, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
164 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&);
179 float widthFromCache(const Font&, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const;
RenderText.cpp 723 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
770 return f.width(run, fallbackFonts, glyphOverflow);
    [all...]
RenderBlockLineLayout.cpp 448 HashSet<const SimpleFontData*> fallbackFonts;
503 if (!wordMeasurement.fallbackFonts.isEmpty()) {
504 HashSet<const SimpleFontData*>::const_iterator end = wordMeasurement.fallbackFonts.end();
505 for (HashSet<const SimpleFontData*>::const_iterator it = wordMeasurement.fallbackFonts.begin(); it != end; ++it)
506 fallbackFonts.add(*it);
512 fallbackFonts.clear();
517 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow);
520 if (!fallbackFonts.isEmpty()) {
524 copyToVector(fallbackFonts, it->value.first);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
ComplexTextController.cpp 54 float width(unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallbackFonts)
56 m_controller->advance(from, 0, ByWholeGlyphs, fallbackFonts);
60 m_controller->advance(from + len, 0, ByWholeGlyphs, fallbackFonts);
94 float Font::width(TextLayout& layout, unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallbackFonts)
96 return layout.width(from, len, fallbackFonts);
113 ComplexTextController::ComplexTextController(const Font* font, const TextRun& run, bool mayUseNaturalWritingDirection, HashSet<const SimpleFontData*>* fallbackFonts, bool forTextEmphasis)
131 , m_fallbackFonts(fallbackFonts)
486 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer, GlyphIterationStyle iterationStyle, HashSet<const SimpleFontData*>* fallbackFonts)
511 if (fallbackFonts && complexTextRun.fontData() != m_font.primaryFont())
512 fallbackFonts->add(complexTextRun.fontData())
    [all...]
ComplexTextController.h 54 ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool forTextEmphasis = false);
57 void advance(unsigned to, GlyphBuffer* = 0, GlyphIterationStyle = IncludePartialGlyphs, HashSet<const SimpleFontData*>* fallbackFonts = 0);
FontComplexTextMac.cpp 130 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
137 ComplexTextController controller(this, run, true, fallbackFonts);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
Font.h 104 float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
109 static float width(TextLayout&, unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallbackFonts = 0);
180 float floatWidthForSimpleText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
193 float floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
WidthIterator.h 44 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false);
Font.cpp 205 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
211 fallbackFonts = 0;
225 result = floatWidthForComplexText(run, fallbackFonts, glyphOverflow);
227 result = floatWidthForSimpleText(run, fallbackFonts, glyphOverflow);
229 if (cacheEntry && (!fallbackFonts || fallbackFonts->isEmpty()))
WidthIterator.cpp 37 WidthIterator::WidthIterator(const Font* font, const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, bool accountForGlyphBounds, bool forTextEmphasis)
45 , m_fallbackFonts(fallbackFonts)
FontFastPath.cpp 536 float Font::floatWidthForSimpleText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
538 WidthIterator it(this, run, fallbackFonts, glyphOverflow);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/line/
BreakingContextInlineHeaders.h 80 HashSet<const SimpleFontData*> fallbackFonts;
701 ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0, TextLayout* layout = 0)
705 return text->width(from, len, font, xPos, fallbackFonts, &glyphOverflow);
708 return Font::width(*layout, from, len, fallbackFonts);
717 return font.width(run, fallbackFonts, &glyphOverflow);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
FontLoader.java 96 List<FontInfo> fallbackFonts = handler.getFontList();
98 return new FontLoader(fontOsLocation, systemFonts, fallbackFonts);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
FontHarfBuzz.cpp 193 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontWin.cpp 199 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const

Completed in 728 milliseconds