Lines Matching refs:fc
44 void expectVSGlyphs(const FontCollection* fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { in expectVSGlyphs() argument
51 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
54 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
60 void expectVSGlyphsForVsTestFont(const FontCollection* fc) { in expectVSGlyphsForVsTestFont() argument
61 EXPECT_FALSE(fc->hasVariationSelector(0x82A6, 0)); in expectVSGlyphsForVsTestFont()
62 expectVSGlyphs(fc, 0x82A6, std::set<uint32_t>({0xFE00, 0xFE0E, 0xE0100, 0xE0101, 0xE0102})); in expectVSGlyphsForVsTestFont()
64 EXPECT_FALSE(fc->hasVariationSelector(0x845B, 0)); in expectVSGlyphsForVsTestFont()
65 expectVSGlyphs(fc, 0x845B, std::set<uint32_t>({0xFE01, 0xFE0E, 0xE0101, 0xE0102, 0xE0103})); in expectVSGlyphsForVsTestFont()
67 EXPECT_FALSE(fc->hasVariationSelector(0x537F, 0)); in expectVSGlyphsForVsTestFont()
68 expectVSGlyphs(fc, 0x537F, std::set<uint32_t>({0xFE0E})); in expectVSGlyphsForVsTestFont()
70 EXPECT_FALSE(fc->hasVariationSelector(0x717D, 0)); in expectVSGlyphsForVsTestFont()
71 expectVSGlyphs(fc, 0x717D, std::set<uint32_t>({0xFE02, 0xE0102, 0xE0103})); in expectVSGlyphsForVsTestFont()
75 auto fc = buildFontCollection(kVsTestFont); in TEST() local
76 expectVSGlyphsForVsTestFont(fc.get()); in TEST()