Lines Matching defs:FontStyle
43 FontStyle::FontStyle(int variant, int weight, bool italic)
44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) {
47 FontStyle::FontStyle(uint32_t languageListId, int variant, int weight, bool italic)
51 hash_t FontStyle::hash() const {
58 uint32_t FontStyle::registerLanguageList(const std::string& languages) {
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) {
89 FontStyle style(weight, italic);
98 void FontFamily::addFont(MinikinFont* typeface, FontStyle style) {
103 void FontFamily::addFontLocked(MinikinFont* typeface, FontStyle style) {
110 static int computeMatch(FontStyle style1, FontStyle style2) {
119 static FontFakery computeFakery(FontStyle wanted, FontStyle actual) {
129 FakedFont FontFamily::getClosestMatch(FontStyle style) const {
158 FontStyle FontFamily::getStyle(size_t index) const {
174 const FontStyle defaultStyle;
203 const FontStyle defaultStyle;