Home
last modified time | relevance | path

Searched refs:fakedFont (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp60 FakedFont fakedFont; member
115 EXPECT_NE(nullptr, run.fakedFont.font.get()); in getFontName()
116 return getBasename(run.fakedFont.typeface()->GetFontPath()); in getFontName()
137 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
138 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
145 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
146 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
153 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
154 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
161 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp319 FakedFont fakedFont = paint.font->getBestFont(substr, run, paint.fontStyle); in LayoutPiece() local
320 const std::shared_ptr<MinikinFont>& typeface = fakedFont.typeface(); in LayoutPiece()
326 mFonts.push_back(fakedFont); in LayoutPiece()
330 HbFontUniquePtr font(hb_font_create_sub_font(fakedFont.hbFont().get())); in LayoutPiece()
333 new SkiaArguments({fakedFont.typeface().get(), &paint, fakedFont.fakery}), in LayoutPiece()
350 typeface->GetFontExtent(&verticalExtent, paint, fakedFont.fakery); in LayoutPiece()
501 const FakedFont& fakedFont = layout.fontAt(i); in calculateBounds() local
504 fakedFont.typeface()->GetBounds(&bounds, glyphId, paint, fakedFont.fakery); in calculateBounds()