A font request, as a delegate expresses it. More...
#include <widget_metrics.hpp>
Public Attributes | |
| std::string | family = "Inter" |
| float | size = 13.0f |
| int | weight = 400 |
| 100–900, 400 = regular | |
| float | letter_spacing = 0.0f |
A font request, as a delegate expresses it.
letter_spacing is in ems, the same unit Label::set_letter_spacing takes.
| std::string pulp::view::FontSpec::family = "Inter" |
| float pulp::view::FontSpec::letter_spacing = 0.0f |
| float pulp::view::FontSpec::size = 13.0f |
| int pulp::view::FontSpec::weight = 400 |
100–900, 400 = regular