Searched refs:checkPSName (Results 1 – 3 of 3) sorted by relevance
45 using FontFileParser::checkPSName;99 TEST(FontFileParser, checkPSName) { in TEST() argument100 EXPECT_TRUE(TestableFontFileParser::checkPSName("Roboto-Regular")); in TEST()101 EXPECT_TRUE(TestableFontFileParser::checkPSName("NotoColorEmoji")); in TEST()104 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto Regular")); in TEST()105 EXPECT_FALSE(TestableFontFileParser::checkPSName("Noto Color Emoji")); in TEST()108 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto (Regular)")); in TEST()109 EXPECT_FALSE(TestableFontFileParser::checkPSName("Noto <Color> {Emoji}")); in TEST()112 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto-Regular\b")); in TEST()113 EXPECT_FALSE(TestableFontFileParser::checkPSName("NotoColorEmoji\t")); in TEST()[all …]
43 static bool checkPSName(const std::string& psName);
146 bool FontFileParser::checkPSName(const std::string& psName) { in checkPSName() function in minikin::FontFileParser204 if (!checkPSName(out)) { // Contains invalid characters. in getPostScriptName()