Lines Matching defs:style
68 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style)
69 : typeface(typeface), style(style) {
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style)
73 : typeface(typeface), style(style) {
90 style = o.style;
96 style = o.style;
141 FakedFont FontFamily::getClosestMatch(FontStyle style) const {
146 int match = computeMatch(font.style, style);
153 return FakedFont{ bestFont->typeface.get(), computeFakery(style, bestFont->style) };
249 fonts.push_back(Font(std::move(minikinFont), font.style));