Perform font matching from placefile

This commit is contained in:
Dan Paulat 2023-09-23 00:44:35 -05:00
parent 7edd512ff7
commit d1a478ad12
4 changed files with 106 additions and 3 deletions

View file

@ -67,6 +67,9 @@ public:
std::size_t pixels_ {};
std::int32_t flags_ {};
std::string face_ {};
bool IsBold() { return flags_ & 1; }
bool IsItalic() { return flags_ & 2; }
};
struct DrawItem