Lines Matching refs:FontStyle

634 const char* slantToString(FontStyle::Slant slant) {  in slantToString()
635 if (slant == FontStyle::Slant::ITALIC) { in slantToString()
642 std::string fontStyleToString(const FontStyle& style) { in fontStyleToString()
652 constexpr FontStyle::Weight THIN = FontStyle::Weight::THIN; in TEST_F()
653 constexpr FontStyle::Weight LIGHT = FontStyle::Weight::LIGHT; in TEST_F()
654 constexpr FontStyle::Weight NORMAL = FontStyle::Weight::NORMAL; in TEST_F()
655 constexpr FontStyle::Weight MEDIUM = FontStyle::Weight::MEDIUM; in TEST_F()
656 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F()
657 constexpr FontStyle::Weight BLACK = FontStyle::Weight::BLACK; in TEST_F()
659 constexpr FontStyle::Slant UPRIGHT = FontStyle::Slant::UPRIGHT; in TEST_F()
660 constexpr FontStyle::Slant ITALIC = FontStyle::Slant::ITALIC; in TEST_F()
662 const std::vector<FontStyle> STANDARD_SET = { in TEST_F()
663 FontStyle(NORMAL, UPRIGHT), // 0 in TEST_F()
664 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
665 FontStyle(NORMAL, ITALIC), // 2 in TEST_F()
666 FontStyle(BOLD, ITALIC), // 3 in TEST_F()
669 const std::vector<FontStyle> FULL_SET = { in TEST_F()
670 FontStyle(THIN, UPRIGHT), // 0 in TEST_F()
671 FontStyle(LIGHT, UPRIGHT), // 1 in TEST_F()
672 FontStyle(NORMAL, UPRIGHT), // 2 in TEST_F()
673 FontStyle(MEDIUM, UPRIGHT), // 3 in TEST_F()
674 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
675 FontStyle(BLACK, UPRIGHT), // 5 in TEST_F()
676 FontStyle(THIN, ITALIC), // 6 in TEST_F()
677 FontStyle(LIGHT, ITALIC), // 7 in TEST_F()
678 FontStyle(NORMAL, ITALIC), // 8 in TEST_F()
679 FontStyle(MEDIUM, ITALIC), // 9 in TEST_F()
680 FontStyle(BOLD, ITALIC), // 10 in TEST_F()
681 FontStyle(BLACK, ITALIC), // 11 in TEST_F()
684 FontStyle wantedStyle; in TEST_F()
685 std::vector<FontStyle> familyStyles; in TEST_F()
688 {FontStyle(), {FontStyle()}, 0}, in TEST_F()
691 {FontStyle(BOLD), {FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
692 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(BOLD)}, 1}, in TEST_F()
693 {FontStyle(LIGHT), {FontStyle(NORMAL), FontStyle(LIGHT)}, 1}, in TEST_F()
694 {FontStyle(LIGHT), {FontStyle(BOLD), FontStyle(LIGHT)}, 1}, in TEST_F()
695 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(LIGHT)}, 0}, in TEST_F()
696 {FontStyle(NORMAL), {FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
697 {FontStyle(LIGHT), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 0}, in TEST_F()
698 {FontStyle(NORMAL), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 1}, in TEST_F()
699 {FontStyle(BOLD), {FontStyle(LIGHT), FontStyle(NORMAL), FontStyle(BOLD)}, 2}, in TEST_F()
701 {FontStyle(UPRIGHT), {FontStyle(UPRIGHT), FontStyle(ITALIC)}, 0}, in TEST_F()
702 {FontStyle(ITALIC), {FontStyle(UPRIGHT), FontStyle(ITALIC)}, 1}, in TEST_F()
704 {FontStyle(NORMAL, UPRIGHT), STANDARD_SET, 0}, in TEST_F()
705 {FontStyle(BOLD, UPRIGHT), STANDARD_SET, 1}, in TEST_F()
706 {FontStyle(NORMAL, ITALIC), STANDARD_SET, 2}, in TEST_F()
707 {FontStyle(BOLD, ITALIC), STANDARD_SET, 3}, in TEST_F()
709 {FontStyle(NORMAL, UPRIGHT), FULL_SET, 2}, in TEST_F()
710 {FontStyle(BOLD, UPRIGHT), FULL_SET, 4}, in TEST_F()
711 {FontStyle(NORMAL, ITALIC), FULL_SET, 8}, in TEST_F()
712 {FontStyle(BOLD, ITALIC), FULL_SET, 10}, in TEST_F()