add color_font_ member
This commit is contained in:
parent
5492d93ccd
commit
8e97803e81
1 changed files with 3 additions and 0 deletions
|
@ -72,10 +72,13 @@ public:
|
|||
|
||||
bool glyph_dimensions(glyph_info &glyph) const;
|
||||
|
||||
inline bool is_color() const { return color_font_;}
|
||||
|
||||
~font_face();
|
||||
|
||||
private:
|
||||
FT_Face face_;
|
||||
bool color_font_ = false;
|
||||
};
|
||||
using face_ptr = std::shared_ptr<font_face>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue