From 8e97803e81527c396d78f902c607ac44f56e12da Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 28 Feb 2017 14:59:14 +0100 Subject: [PATCH] add color_font_ member --- include/mapnik/text/face.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/mapnik/text/face.hpp b/include/mapnik/text/face.hpp index 210c3479b..9158e258b 100644 --- a/include/mapnik/text/face.hpp +++ b/include/mapnik/text/face.hpp @@ -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;