remove unused (after 8bc7a56cda) font_face::char_height_

This commit is contained in:
Dane Springmeyer 2014-10-11 15:55:15 -07:00
parent b275144004
commit ba285aa9fa
2 changed files with 1 additions and 5 deletions

View file

@ -75,7 +75,6 @@ public:
private:
FT_Face face_;
mutable glyph_info_cache_type glyph_info_cache_;
mutable double char_height_;
};
using face_ptr = std::shared_ptr<font_face>;

View file

@ -33,18 +33,15 @@ namespace mapnik
font_face::font_face(FT_Face face)
: face_(face),
glyph_info_cache_(),
char_height_(0.0) {}
glyph_info_cache_() {}
bool font_face::set_character_sizes(double size)
{
char_height_ = 0.0;
return !FT_Set_Char_Size(face_,0,(FT_F26Dot6)(size * (1<<6)),0,0);
}
bool font_face::set_unscaled_character_sizes()
{
char_height_ = 0.0;
return !FT_Set_Char_Size(face_,0,face_->units_per_EM,0,0);
}