Searched refs:FakedFont (Results 1 – 10 of 10) sorted by relevance
58 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts()62 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt()85 std::vector<FakedFont> mFonts;
51 struct FakedFont { struct52 inline bool operator==(const FakedFont& o) const {55 inline bool operator!=(const FakedFont& o) const { return !(*this == o); }
39 FakedFont fakedFont;60 FakedFont baseFontFaked(FontStyle style);
37 LayoutGlyph(FakedFont font, uint32_t glyph_id, float x, float y) in LayoutGlyph()39 FakedFont font;
41 FakedFont getClosestMatch(FontStyle style) const;
146 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch()157 return FakedFont{bestFont, computeFakery(style, bestFont->style())}; in getClosestMatch()
481 FakedFont FontCollection::baseFontFaked(FontStyle style) { in baseFontFaked()
387 const FakedFont& fakedFont = run.fakedFont; in LayoutPiece()
740 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()
594 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()