Lines Matching refs:fc
43 void expectVSGlyphs(const FontCollection* fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { in expectVSGlyphs() argument
50 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
53 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
60 auto fc = buildFontCollection(kVsTestFont); in TEST() local
62 EXPECT_FALSE(fc->hasVariationSelector(0x82A6, 0)); in TEST()
63 expectVSGlyphs(fc.get(), 0x82A6, in TEST()
66 EXPECT_FALSE(fc->hasVariationSelector(0x845B, 0)); in TEST()
67 expectVSGlyphs(fc.get(), 0x845B, in TEST()
70 EXPECT_FALSE(fc->hasVariationSelector(0x537F, 0)); in TEST()
71 expectVSGlyphs(fc.get(), 0x537F, std::set<uint32_t>({0xFE0E})); in TEST()
73 EXPECT_FALSE(fc->hasVariationSelector(0x717D, 0)); in TEST()
74 expectVSGlyphs(fc.get(), 0x717D, std::set<uint32_t>({0xFE02, 0xE0102, 0xE0103})); in TEST()